|
| | MySimCommandExecutor (DtSimulationServices *simManager) |
| |
| virtual | ~MySimCommandExecutor () override |
| |
| virtual bool | execute (const DtSimCommand *command, DtSimCommandContextPtr &, const DtPlan *=0) override |
| |
| virtual bool | execute (const DtSimCommand *command, DtSimCommandContextPtr &, const DtUUID &objectName, const DtPlan *=0) 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 bool | isSimCommandComplete (const DtSimCommand *command, const DtSimCommandContextPtr &context, const DtPlan *=0) const |
| |
| virtual void | distribute (const DtSimCommand *command, const DtPlan *plan=0) |
| |
| virtual void | distribute (const DtSimCommand *command, const DtUUID &objectName, const DtPlan *plan=0) |
| |
| virtual MySimCommandExecutor::~MySimCommandExecutor |
( |
| ) |
|
|
overridevirtual |
| MySimCommandExecutor::MySimCommandExecutor |
( |
| ) |
|
|
private |
This DtSimCommandContextPtr is now used to indicate there is some context that the executor needs to finish up in order for this sim command to be complete. If you fill in a context you also need to implement the isSimCommandComplete to determine when the context has been satisfied and return true from that to complete the implementation of this sim command. An example of where this is used is the entity create sim command when waiting for the terrain to page in.
Implements DtSimCommandExecutor.
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.
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf5-2-branch/examples/addSimCommand/addSimCommandSim/mySimCommandExecutor.h