![]() |
VR-Forces 4.6.1 Class Documentation
|
Executor for the DtSetDataCommand DtSimCommand. More...

Public Member Functions | |
| DtSetDataCommandExecutor (DtSimManager *simManager) | |
| virtual | ~DtSetDataCommandExecutor () |
| virtual bool | execute (const DtSimCommand *command, DtSimCommandContextPtr &context, const DtPlan *=0) |
| Calls executeCommand() with null senderName. | |
| virtual bool | execute (const DtSimCommand *command, DtSimCommandContextPtr &context, const DtUUID &object, const DtPlan *=0) |
| Overridden to include the name of the entity sending the task in the set data request radio message. | |
Public Member Functions inherited from DtSimCommandExecutor | |
| DtSimCommandExecutor (DtSimManager *simManager) | |
| virtual | ~DtSimCommandExecutor () |
| virtual bool | executeAndDistribute (const DtSimCommand *command, DtSimCommandContextPtr &context, const DtPlan *plan=0) |
| Executes and then distributes the sim command by calling the execute and distribute functions in turn. | |
| virtual bool | executeAndDistribute (const DtSimCommand *command, DtSimCommandContextPtr &context, const DtUUID &objectName, const DtPlan *plan=0) |
| Executes and then distributes the sim command in the context of a specific entity by calling the execute and distribute functions in turn. | |
| virtual bool | isSimCommandComplete (const DtSimCommand *command, const DtSimCommandContextPtr &context, const DtPlan *=0) const |
| Will, by default, return true to indicate the sim command is complete. | |
| virtual void | distribute (const DtSimCommand *command, const DtPlan *plan=0) |
| Calls on the sim command distributor to distribute the command to registered callback functions. | |
| virtual void | distribute (const DtSimCommand *command, const DtUUID &objectName, const DtPlan *plan=0) |
| Calls on the sim command distributor to distribute the command to registered callback functions, providing the context of a specific entity. | |
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. | |
Protected Member Functions | |
| virtual bool | executeCommand (const DtSimCommand *command, const DtUUID &sender, const DtPlan *=0) |
| Executes the command by sending out a set data request radio message. | |
Private Member Functions | |
| DtSetDataCommandExecutor () | |
| Not implemented. | |
| DtSetDataCommandExecutor (const DtSetDataCommandExecutor &orig) | |
| Not implemented. | |
| DtSetDataCommandExecutor & | operator= (const DtSetDataCommandExecutor &orig) |
| Not implemented. | |
Additional Inherited Members | |
Protected Attributes inherited from DtSimCommandExecutor | |
| DtSimManager * | mySimManager |
Static Protected Attributes inherited from DtSimCommandExecutor | |
| static DtSimCommandExecutorFactory * | myFactory |
Executor for the DtSetDataCommand DtSimCommand.
Issues the enclosed set data request to the entity specified in the command.
| DtSetDataCommandExecutor::DtSetDataCommandExecutor | ( | DtSimManager * | 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 set data request radio message.
Calls executeCommand with the supplied objectName as the senderName.
Reimplemented from DtSimCommandExecutor.
|
static |
|
protectedvirtual |
Executes the command by sending out a set data request radio message.
| command | must be DtSetDataCommand. |
|
private |
Not implemented.