![]() |
VR-Forces 5.0.3 Developer's Guide
|
Concrete implementation of the DtPlanExecutor which interfaces with the VRF simulation engine. This executor is used for plans executed on a specific entity. This class implements the execution and evaluation methods by interfacing with a local VRF simulation engine.

Static Public Member Functions | |
| static void | setPlanVariableSubstitutorCreator (DtPlanVariableSubstitutorCreatorFcn) |
| static DtPlanVariableSubstitutorCreatorFcn | planVariableSubstitutorCreatorFcn () |
Protected Attributes | |
| DtLocalObject * | myVrfObject |
| DtPlanVariableSubstitutor * | myPlanVariableSubstitutor |
Static Protected Attributes | |
| static DtPlanVariableSubstitutorCreatorFcn | thePlanVariableSubstitutorCreatorFcn |
Private Member Functions | |
| DtVrfSimPlanExecutor (const DtVrfSimPlanExecutor &orig) | |
| DtVrfSimPlanExecutor & | operator= (const DtVrfSimPlanExecutor &orig) |
|
private |
Not implemented.
| DtVrfSimPlanExecutor::DtVrfSimPlanExecutor | ( | DtLocalObject * | vrfObject | ) |
|
virtual |
|
private |
Not implemented.
|
virtual |
Sends the set data request to though a radio message to a local entity specified in the plan.
Implements DtPlanExecutor.
|
virtual |
Sends the task to though a radio message to a local entity specified in the plan.
Implements DtPlanExecutor.
|
virtual |
Executes the command. Will create a sim command executor to execute the command of the given type. If the command succeeds but is not yet done, the method will return true and the context will have some information in it that is relevant to the command executor.
Implements DtPlanExecutor.
|
virtual |
Calls the evaluate method on the conditional's evaluator.
Implements DtPlanExecutor.
Calls DtSimTaskManager::taskActive() on the task manager on the entity.
Implements DtPlanExecutor.
Calls DtSimTaskManager::stopTask() on the task manager on the entity.
Implements DtPlanExecutor.
|
virtual |
Suspends all top level tasks and returns the suspended id.
Implements DtPlanExecutor.
Resumes the suspended task id.
Implements DtPlanExecutor.
|
virtual |
RFeturns true if there are tasks executing.
Implements DtPlanExecutor.
|
virtual |
If not created, creates the plan variable substitutor from creator function, or, if creator function is not defined, from default class.
|
virtual |
Create an executor and call it with the command context pointer to see if the command is complete. Will return true if it is.
Implements DtPlanExecutor.
|
virtual |
Sets the plan variable substitutor and returns the old one. This class takes ownership of the new substitutor and releases that of the old, so, you must delete to prevent memory leak.
|
static |
|
static |
|
virtual |
Iterates over all items in the reader writer registry of the supplied item, and, if any of the variables are UUIDs and they happen to match the UUID of the simulation object or created object variable, those values in the reader/writer supplied will be set to those of the variable. This call will return the values that were substituted. Do not delete the returned memory as this is the reader/writer value as it exists.
Implements DtPlanExecutor.
|
virtual |
Returns a vector list of reader/writer values (cloned from the source) that were substituted. The results of this call must be freed by the user.
Implements DtPlanExecutor.
|
virtual |
If, in the supplied reader/writer there is a matching UUID to substitute, place the resultant value in the givem UUID and return true.
Implements DtPlanExecutor.
|
protected |
|
mutableprotected |
|
staticprotected |