#include <CDAQTCLProcessor.h>
Inheritance diagram for CDAQTCLProcessor:
Public Member Functions | |
CDAQTCLProcessor (const STD(string)&rCommand, CTCLInterpreter *pInterp) | |
CDAQTCLProcessor (const char *pCommand, CTCLInterpreter *pInter) | |
~CDAQTCLProcessor () | |
int | operator== (const CDAQTCLProcessor &aCDAQTCLProcessor) const |
Operator== Equality Operator. | |
virtual void | Register () |
Private Member Functions | |
CDAQTCLProcessor (const CDAQTCLProcessor &aCDAQTCLProcessor) | |
Copy Constructor illegal and therefore unimplemented. | |
CDAQTCLProcessor & | operator= (const CDAQTCLProcessor &aCDAQTCLProcessor) |
Operator= Assignment Operator illegal and therefore unimplemented. | |
Static Private Member Functions | |
int | EvalRelay (ClientData pData, Tcl_Interp *pInterp, int Argc, char **Argv) |
void | DeleteRelay (ClientData pData) |
Definition at line 320 of file CDAQTCLProcessor.h.
|
|
|
Constructor, Builds a new command which will execute synchronized with all the other threads in the application. Definition at line 325 of file CDAQTCLProcessor.cpp. |
|
Destructor: The base class will take care of everything we need. The fact that register registered our DeleteRelay will take care of ensuring that OnDelete is executed with application synchronization. Definition at line 307 of file CDAQTCLProcessor.cpp. |
|
Copy Constructor illegal and therefore unimplemented.
|
|
Locks the application mutex, call's the object's OnDelete member function (the object is pointed to by the client data parameter), and unlocks the mutex. Definition at line 385 of file CDAQTCLProcessor.cpp. References CApplicationSerializer::getInstance(), CThreadRecursiveMutex::Lock(), and CThreadRecursiveMutex::UnLock(). Referenced by Register(). |
|
Locks the application mutex, calls operator() and the unlocks the resource. Definition at line 357 of file CDAQTCLProcessor.cpp. References CApplicationSerializer::getInstance(), CThreadRecursiveMutex::Lock(), and CThreadRecursiveMutex::UnLock(). Referenced by Register(). |
|
Operator= Assignment Operator illegal and therefore unimplemented.
|
|
Operator== Equality Operator.
Definition at line 337 of file CDAQTCLProcessor.h. |
|
Registers the processor on the current interpreter. This reimplements code from the base class because I need to specify my own Eval and Delete relay functions (there's naturally no way for static functions to be virtual). Definition at line 340 of file CDAQTCLProcessor.cpp. References DeleteRelay(), and EvalRelay(). Referenced by CInterpreterStartup::RegisterExtensions(). |