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

Public Member Functions | |
| DtSimCommandExecutorFactory () | |
| default constructor More... | |
| virtual | ~DtSimCommandExecutorFactory () |
| destructor More... | |
| virtual void | addCreatorFcn (const DtSimCommandMessageType &type, DtSimCommandExecutorCreatorFcn fcn) |
| Add a creator function to the factory. More... | |
| virtual void | removeCreatorFcn (const DtSimCommandMessageType &type, DtSimCommandExecutorCreatorFcn fcn) |
| Remove an entry from the factory. More... | |
| virtual void | registerDefaultCreatorFcn (DtSimCommandExecutorCreatorFcn fcn) |
| Sets the default executor creator function which will be used when no specific creator function has been registered. More... | |
| virtual DtSimCommandExecutor * | createSimCommandExecutor (const DtSimCommandMessageType &type, DtSimManager *simManager) const |
| Create a new instance of an executor and return it. More... | |
Static Public Member Functions | |
| static DtSimCommandExecutorFactory * | create () |
Protected Types | |
| typedef std::map < DtSimCommandMessageType, DtSimCommandExecutorCreatorFcn > | DtCreatorMap |
Protected Attributes | |
| DtCreatorMap | myCreatorMap |
| DtSimCommandExecutorCreatorFcn | myDefaultCreator |
Private Member Functions | |
| DtSimCommandExecutorFactory (const DtSimCommandExecutorFactory &orig) | |
| copy constructor - not implemented More... | |
| DtSimCommandExecutorFactory & | operator= (const DtSimCommandExecutorFactory &orig) |
| assignment operator - not implemented More... | |
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 |
Sets the default executor creator function which will be used when no specific creator function has been registered.
Unless otherwise set, the default creator will create a DtSimCommandDistributionExecutor.
|
virtual |
Create a new instance of an executor and return it.
|
static |
|
private |
assignment operator - not implemented
|
protected |
|
protected |