Executor for the DtSendTextMessageCommand DtSimCommand.
More...
Public Member Functions |
| | DtSendTextMessageCommandExecutor (DtSimManager *simManager) |
| virtual | ~DtSendTextMessageCommandExecutor () |
| virtual bool | execute (const DtSimCommand *command, DtSimCommandContextPtr &context, const DtUUID &entity, const DtPlan *=0) |
| | Checks to see if this is a send-text-message command, and if so sends the text message.
|
| virtual bool | execute (const DtSimCommand *command, DtSimCommandContextPtr &context, const DtPlan *=0) |
| | Nominal implementation of abstract method in simCommandExecutor.
|
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.
|
Detailed Description
Executor for the DtSendTextMessageCommand DtSimCommand.
Sends the text message to the given object (or all if DtBroadcast)
Constructor & Destructor Documentation
| DtSendTextMessageCommandExecutor::DtSendTextMessageCommandExecutor |
( |
DtSimManager * |
simManager | ) |
|
| virtual DtSendTextMessageCommandExecutor::~DtSendTextMessageCommandExecutor |
( |
| ) |
|
|
virtual |
| DtSendTextMessageCommandExecutor::DtSendTextMessageCommandExecutor |
( |
| ) |
|
|
private |
Member Function Documentation
Checks to see if this is a send-text-message command, and if so sends the text message.
Reimplemented from DtSimCommandExecutor.
- Returns
- A new instance of this class.
The documentation for this class was generated from the following file: