![]() |
VR-Forces Development_Version Class Documentation
|
Factory for creating DtSimCommandExecutor instances. More...

Public Member Functions | |
| DtSimCommandExecutorFactory () | |
| default constructor | |
| virtual | ~DtSimCommandExecutorFactory () |
| destructor | |
| virtual void | addCreatorFcn (const DtSimCommandMessageType &type, DtSimCommandExecutorCreatorFcn fcn) |
| Add a creator function to the factory. | |
| virtual void | removeCreatorFcn (const DtSimCommandMessageType &type, DtSimCommandExecutorCreatorFcn fcn) |
| Remove an entry from the factory. | |
| virtual DtSimCommandExecutor * | createSimCommandExecutor (const DtSimCommandMessageType &type, DtSimManager *simManager) const |
| Create a new instance of an executor and return it. | |
Static Public Member Functions | |
| static DtSimCommandExecutorFactory * | create () |
Protected Types | |
| typedef std::map < DtSimCommandMessageType, DtSimCommandExecutorCreatorFcn > | DtCreatorMap |
Protected Attributes | |
| DtCreatorMap | myCreatorMap |
Private Member Functions | |
| DtSimCommandExecutorFactory (const DtSimCommandExecutorFactory &orig) | |
| copy constructor - not implemented | |
| DtSimCommandExecutorFactory & | operator= (const DtSimCommandExecutorFactory &orig) |
| assignment operator - not implemented | |
Factory for creating DtSimCommandExecutor instances.
|
protected |
| DtSimCommandExecutorFactory::DtSimCommandExecutorFactory | ( | ) |
default constructor
|
virtual |
destructor
|
private |
copy constructor - not implemented
|
virtual |
Add a creator function to the factory.
Any previous entry with the same type will be replaced. Executors should be registered with the same type integer that is used for the DtSimCommand in the DtSimCommandFactory.
|
virtual |
Remove an entry from the factory.
|
virtual |
Create a new instance of an executor and return it.
|
static |
Reimplemented in DtDefaultSimCommandExecutorFactory.
|
private |
assignment operator - not implemented
|
protected |