Abstract base class for all simCommand executors.
More...
Detailed Description
Abstract base class for all simCommand executors.
Every DtSimCommand should have a corresponding DtSimCommandExecutor subclass that implements the execution of that command.
- Examples
-
Constructor & Destructor Documentation
| DtSimCommandExecutor::DtSimCommandExecutor |
( |
DtSimManager * |
simManager | ) |
|
| virtual DtSimCommandExecutor::~DtSimCommandExecutor |
( |
| ) |
|
|
virtual |
| DtSimCommandExecutor::DtSimCommandExecutor |
( |
| ) |
|
|
private |
Member Function Documentation
Perform the actual execution of the DtSimCommand.
Pure virtual function; must be overloaded by derived classes. This method executes the command in the global context. If the command should be executed differently when in the context of a specific entity (i.e. in that entity's plan), see execute() which takes an object name.
- Returns
- True if command was successfully carried out, false otherwise.
Implemented in DtDeleteObjectCommandExecutor, DtConsoleMessageCommandExecutor, DtCreateObjectCommandExecutor, DtAbandonPlanCommandExecutor, DtNoopCommandExecutor, DtRestartPlanCommandExecutor, DtChangeHostilityCommandExecutor, DtChangeTimeOfDayCommandExecutor, DtSetDataCommandExecutor, DtTaskCommandExecutor, DtIssuePlanCommandExecutor, MySimCommandExecutor, DtScenarioEventCommandExecutor, DtChangeWeatherCommandExecutor, and DtStealthCommandExecutor.
Sets the static factory member.
Uses the static factory member to create a new executor of the specified type.
Member Data Documentation
The documentation for this class was generated from the following file:
- /exports/nfedora7-1/nightly/docs/vrforcesDevelopment.vrf4-3-branch/include/vrfobjcore/simCommandExecutor.h