![]() |
VR-Forces 4.1 Class Documentation
|

Public Member Functions | |
| MySimCommandExecutor (DtSimManager *simManager) | |
| virtual | ~MySimCommandExecutor () |
| virtual bool | execute (const DtSimCommand *command) |
| Perform the actual execution of the DtSimCommand. | |
| virtual bool | execute (const DtSimCommand *command, const DtString &objectName) |
| Performs the actual executor of the DtSimCommand in the context of a specific entity. | |
Public Member Functions inherited from DtSimCommandExecutor | |
| DtSimCommandExecutor (DtSimManager *simManager) | |
| virtual | ~DtSimCommandExecutor () |
Static Public Member Functions | |
| static DtSimCommandExecutor * | create (DtSimManager *simManager) |
Static Public Member Functions inherited from DtSimCommandExecutor | |
| static void | setFactory (DtSimCommandExecutorFactory *factory) |
| Sets the static factory member. | |
| static DtSimCommandExecutor * | createSimCommandExecutor (const DtSimCommandMessageType &type, DtSimManager *simManager) |
| Uses the static factory member to create a new executor of the specified type. | |
Private Member Functions | |
| MySimCommandExecutor () | |
| MySimCommandExecutor (const MySimCommandExecutor &orig) | |
| MySimCommandExecutor & | operator= (const MySimCommandExecutor &orig) |
Additional Inherited Members | |
Protected Attributes inherited from DtSimCommandExecutor | |
| DtSimManager * | mySimManager |
Static Protected Attributes inherited from DtSimCommandExecutor | |
| static DtSimCommandExecutorFactory * | myFactory |
| MySimCommandExecutor::MySimCommandExecutor | ( | DtSimManager * | simManager | ) |
|
virtual |
|
private |
|
private |
|
virtual |
Perform the actual execution of the DtSimCommand.
Pure virtual function; must be overloaded by derived classes. This method executes the command in the global context. If the command should be executed differently when in the context of a specific entity (i.e. in that entity's plan), see execute() which takes an object name.
Implements DtSimCommandExecutor.
|
virtual |
Performs the actual executor of the DtSimCommand in the context of a specific entity.
The default implementation of this is to call execute(command), and simply throw out the objectName. This method should be reimplemented by deriving classes if the command is executed differently when in in the context of an object.
Reimplemented from DtSimCommandExecutor.
|
static |
|
private |