Interface ICamIpcApplication
Instance of CAM application
Assembly: CAMIPC.Application.dll
Syntax
[Guid("5E2B8B0E-4B0A-4B7E-8B0A-5B4B7E8B0A5E")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ICamIpcApplication
Properties
ExecutablePath
Declaration
string ExecutablePath { get; }
Property Value
IsAlive
Is instance of CAM application running and can answer on IPC requests
Declaration
Property Value
IsBusy
Is instance of CAM is in process of answering on any IPC request
Declaration
Property Value
IsWindowed
Instance is windowed or not
Declaration
Property Value
MainForm
Declaration
ICamIpcApplicationMainForm MainForm { get; }
Property Value
ProcessId
Declaration
Property Value
Methods
Close(bool, out TResultStatus)
Declaration
IListString Close(bool AsyncMode, out TResultStatus ResultStatus)
Parameters
Returns
CreateListener(ref TExecuteContext)
Declaration
ICamIpcEventListener CreateListener(ref TExecuteContext ExecuteContext)
Parameters
Returns
ExportCurrentProject(string, bool, ref TExecuteContext)
Declaration
void ExportCurrentProject(string TargetFileName, bool Overwrite, ref TExecuteContext ExecuteContext)
Parameters
Type |
Name |
Description |
string |
TargetFileName |
|
bool |
Overwrite |
|
TExecuteContext |
ExecuteContext |
|
GetActiveProject(ref TExecuteContext)
Declaration
ICamIpcProject GetActiveProject(ref TExecuteContext ExecuteContext)
Parameters
Returns
GetDefaultListener()
Return instance of default listener for events from CAM application
Declaration
ICamIpcEventListener GetDefaultListener()
Returns
GetExtensionManager(ref TExecuteContext)
Declaration
IIpcExtensionManager GetExtensionManager(ref TExecuteContext ExecuteContext)
Parameters
Returns
GetLogFilePath(ref TExecuteContext)
Declaration
string GetLogFilePath(ref TExecuteContext ExecuteContext)
Parameters
Returns
GetPort(out TResultStatus)
Declaration
int GetPort(out TResultStatus ResultStatus)
Parameters
Returns
OpenProject(string, bool, ref TExecuteContext)
Declaration
void OpenProject(string FileName, bool AddToReOpen, ref TExecuteContext ExecuteContext)
Parameters
Type |
Name |
Description |
string |
FileName |
|
bool |
AddToReOpen |
|
TExecuteContext |
ExecuteContext |
|
RegisterHandler(string, ICamIpcEventHandler, ICamIpcEventListener, ref TExecuteContext)
Declaration
void RegisterHandler(string HandlerIdent, ICamIpcEventHandler Handler, ICamIpcEventListener Listener, ref TExecuteContext ExecuteContext)
Parameters
RegisterWorkingThread(int, out TResultStatus)
Declaration
void RegisterWorkingThread(int ThreadHandle, out TResultStatus ResultStatus)
Parameters
Type |
Name |
Description |
int |
ThreadHandle |
|
TResultStatus |
ResultStatus |
|
SaveCurrentProject(string, ref TExecuteContext)
Declaration
void SaveCurrentProject(string FileName, ref TExecuteContext ExecuteContext)
Parameters
StartAsyncWork(out TResultStatus)
Declaration
void StartAsyncWork(out TResultStatus ResultStatus)
Parameters
StopAsyncWork(out TResultStatus)
Declaration
void StopAsyncWork(out TResultStatus ResultStatus)
Parameters
UnregisterHandler(string, ref TExecuteContext)
Declaration
void UnregisterHandler(string HandlerIdent, ref TExecuteContext ExecuteContext)
Parameters
UnregisterWorkingThread(int, out TResultStatus)
Declaration
void UnregisterWorkingThread(int ThreadHandle, out TResultStatus ResultStatus)
Parameters
Type |
Name |
Description |
int |
ThreadHandle |
|
TResultStatus |
ResultStatus |
|
WaitForStarted(int, out TResultStatus)
Declaration
void WaitForStarted(int timeout, out TResultStatus ResultStatus)
Parameters