#include <CCAENV830Creator.h>
Inheritance diagram for CCAENV830Creator:
Public Member Functions | |
CCAENV830Creator () | |
virtual | ~CCAENV830Creator () |
CCAENV830Creator (const CCAENV830Creator &rhs) | |
CCAENV830Creator & | operator= (const CCAENV830Creator &rhs) |
int | operator== (const CCAENV830Creator &rhs) const |
int | operator!= (const CCAENV830Creator &rhs) const |
virtual CReadableObject * | Create (CTCLInterpreter &rInterp, CTCLResult &rResult, int nArgs, char **pArgs) |
virtual string | Help () |
CCAENV830Creator () | |
virtual | ~CCAENV830Creator () |
CCAENV830Creator (const CCAENV830Creator &rhs) | |
CCAENV830Creator & | operator= (const CCAENV830Creator &rhs) |
int | operator== (const CCAENV830Creator &rhs) const |
int | operator!= (const CCAENV830Creator &rhs) const |
virtual CDigitizerModule * | Create (CTCLInterpreter &rInterp, CTCLResult &rResult, int nArgs, char **pArgs) |
virtual string | Help () |
... // Make a new interpreter: pInterp = new CTCLInterpreter(); Tcl_Init(pInterp->getInterpreter()); // Create the module creation infrastructure: pDictionary = new CDigitizerDictionary; pReader = new CReadOrder(pInterp, pDictionary); pCreator = new CModuleCommand(pInterp, pDictionary, pReader); pCreator->AddCreator(new CCAENV830); ...
The creator is then used by the Module command to match the module type recognized by the CCAENV830Creator ("caenv830") to instantiate modules that can then be configured by the user through TCL scripting.
Definition at line 52 of file CCAENV830Creator.h.
|
Creates a creational object for CAENV830 objects. Definition at line 14 of file CCAENV830Creator.cpp. |
|
Destructor: in this case doesn't need to do any thing. Definition at line 21 of file CCAENV830Creator.cpp. |
|
Copy constructor just invokes base class copy constructor.
Definition at line 29 of file CCAENV830Creator.cpp. |
|
|
|
|
|
|
|
Implements CModuleCreator. |
|
Returns a new instance of the scalermodule creaetd by this creator. The mdule is new'd into being and therefore must be deleted by the ultimate user. The parameters passed in are also passed to the module's configuration function. Note that the digitizer module is really a CScalerModule*
module name "caenv820" ?optional-config-params? Where:
Implements CModuleCreator. Definition at line 111 of file CCAENV830Creator.cpp. References CConfigurableObject::Configure(), and CModuleCreator::getModuleType(). |
|
Implements CModuleCreator. |
|
Function: Returns a string describing the module type and whatever else the module driver author wants to display about that module type in response to the module -help command. Implements CModuleCreator. Definition at line 142 of file CCAENV830Creator.cpp. |
|
Definition at line 63 of file include/CCAENV830Creator.h. References operator==(). |
|
Definition at line 64 of file CCAENV830Creator.h. References operator==(). |
|
|
|
Assignment operator.. Again, this is done by the base class:
Definition at line 43 of file CCAENV830Creator.cpp. References CModuleCreator::operator=(). |
|
|
|
Compare for equality. Since there is no member data for this class, we rely on the base class's ideas of equality:
Definition at line 59 of file CCAENV830Creator.cpp. References CModuleCreator::operator==(). Referenced by operator!=(). |