![]() |
VR-Forces Developer's Guide
|
Executor for the sending a chat command.

Public Member Functions | |
| DtSendChatCommandExecutor (DtSimulationServices *simManager) | |
| virtual | ~DtSendChatCommandExecutor () override |
| virtual bool | execute (const DtSimCommand *command, DtSimCommandContextPtr &context, const DtPlan *=0) override |
| virtual bool | execute (const DtSimCommand *command, DtSimCommandContextPtr &context, const DtUUID &, 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) |
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 | |
| DtSendChatCommandExecutor () | |
| DtSendChatCommandExecutor (const DtSendChatCommandExecutor &orig) | |
| DtSendChatCommandExecutor & | operator= (const DtSendChatCommandExecutor &orig) |
Additional Inherited Members | |
Protected Attributes inherited from DtSimCommandExecutor | |
| DtSimulationServices * | mySimulationServices |
Static Protected Attributes inherited from DtSimCommandExecutor | |
| static DtSimCommandExecutorFactory * | myFactory |
| DtSendChatCommandExecutor::DtSendChatCommandExecutor | ( | DtSimulationServices * | simManager | ) |
|
overridevirtual |
|
private |
Not implemented.
|
private |
Not implemented.
|
overridevirtual |
issues the plan.
| command | must be DtSenChatCommand. |
Adds a chat message event given the information in the chat command
Implements DtSimCommandExecutor.
|
overridevirtual |
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 |
Not implemented.