![]() |
VR-Forces Developer's Guide
|
Executor for the DtCreateObjectCommand DtSimCommand. Creates a new object on the local sim engine using the data from the creation sim command.

Public Member Functions | |
| DtCreateObjectCommandExecutor (DtSimulationServices *simManager) | |
| virtual | ~DtCreateObjectCommandExecutor () override |
| virtual bool | execute (const DtSimCommand *command, DtSimCommandContextPtr &context, const DtPlan *=0) override |
| virtual bool | isSimCommandComplete (const DtSimCommand *command, const DtSimCommandContextPtr &context, const DtPlan *=0) const override |
Public Member Functions inherited from DtSimCommandExecutor | |
| DtSimCommandExecutor (DtSimulationServices *simManager) | |
| virtual | ~DtSimCommandExecutor () |
| virtual bool | executeAndDistribute (const DtSimCommand *command, DtSimCommandContextPtr &context, const DtPlan *plan=0) |
| virtual bool | executeAndDistribute (const DtSimCommand *command, DtSimCommandContextPtr &context, const DtUUID &objectName, const DtPlan *plan=0) |
| virtual void | distribute (const DtSimCommand *command, const DtPlan *plan=0) |
| virtual void | distribute (const DtSimCommand *command, const DtUUID &objectName, const DtPlan *plan=0) |
Static Public Member Functions | |
| static DtSimCommandExecutor * | create (DtSimulationServices *simManager) |
Static Public Member Functions inherited from DtSimCommandExecutor | |
| static void | setFactory (DtSimCommandExecutorFactory *factory) |
| static DtSimCommandExecutor * | createSimCommandExecutor (const DtSimCommandMessageType &type, DtSimulationServices *simManager) |
Private Member Functions | |
| DtCreateObjectCommandExecutor () | |
| DtCreateObjectCommandExecutor (const DtCreateObjectCommandExecutor &orig) | |
| DtCreateObjectCommandExecutor & | operator= (const DtCreateObjectCommandExecutor &orig) |
Additional Inherited Members | |
Protected Member Functions inherited from DtSimCommandExecutor | |
| virtual bool | execute (const DtSimCommand *command, DtSimCommandContextPtr &context, const DtUUID &objectName, const DtPlan *plan=0) |
Protected Attributes inherited from DtSimCommandExecutor | |
| DtSimulationServices * | mySimulationServices |
Static Protected Attributes inherited from DtSimCommandExecutor | |
| static DtSimCommandExecutorFactory * | myFactory |
| DtCreateObjectCommandExecutor::DtCreateObjectCommandExecutor | ( | DtSimulationServices * | simManager | ) |
|
overridevirtual |
|
private |
Not implemented.
|
private |
Not implemented.
|
overridevirtual |
Creates the new object.
| command | must be DtCreateObjectCommand. |
Implements DtSimCommandExecutor.
|
static |
|
overridevirtual |
If this is called the last execute did not immediately create the object. The context creates enough information necessary to. see if the object has yet been created.
Reimplemented from DtSimCommandExecutor.
|
private |
Not implemented.