![]() |
VR-Forces 5.0.1 Developer's Guide
|
Executor for the DtTaskCommand DtSimCommand. Issues the enclosed task to the entity specified in the command.

Public Member Functions | |
| DtTaskCommandExecutor (DtSimulationServices *simManager) | |
| virtual | ~DtTaskCommandExecutor () |
| virtual bool | execute (const DtSimCommand *command, DtSimCommandContextPtr &context, const DtPlan *=0) |
| virtual bool | execute (const DtSimCommand *command, DtSimCommandContextPtr &context, const DtUUID &object, const DtPlan *=0) |
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) |
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) |
Protected Member Functions | |
| virtual bool | executeCommand (const DtSimCommand *command, const DtUUID &sender, const DtPlan *=0) |
Private Member Functions | |
| DtTaskCommandExecutor () | |
| DtTaskCommandExecutor (const DtTaskCommandExecutor &orig) | |
| DtTaskCommandExecutor & | operator= (const DtTaskCommandExecutor &orig) |
Additional Inherited Members | |
Protected Attributes inherited from DtSimCommandExecutor | |
| DtSimulationServices * | mySimulationServices |
Static Protected Attributes inherited from DtSimCommandExecutor | |
| static DtSimCommandExecutorFactory * | myFactory |
| DtTaskCommandExecutor::DtTaskCommandExecutor | ( | DtSimulationServices * | simManager | ) |
|
virtual |
|
private |
Not implemented.
|
private |
Not implemented.
|
virtual |
Calls executeCommand() with null senderName.
Implements DtSimCommandExecutor.
|
virtual |
Overridden to include the name of the entity sending the task in the task radio message. Calls executeCommand with the supplied object as the sender.
Reimplemented from DtSimCommandExecutor.
|
static |
|
protectedvirtual |
Executes the command by sending out a task radio message.
| command | must be DtTaskCommand. |
|
private |
Not implemented.