|
| | DtVrfSimPlanExecutor (DtVrfObject *vrfObject) |
| |
| virtual | ~DtVrfSimPlanExecutor () |
| |
| virtual bool | executeSetDataRequest (const DtPlan &plan, const DtSetDataRequest &sdr) |
| | Sends the set data request to though a radio message to a local entity specified in the plan. More...
|
| |
| virtual bool | executeTask (const DtPlan &plan, const DtSimTask &task) |
| | Sends the task to though a radio message to a local entity specified in the plan. More...
|
| |
| virtual bool | executeSimCommand (const DtPlan &plan, const DtSimCommand &command, DtSimCommandContextPtr &context) |
| | Executes the command. More...
|
| |
| virtual bool | evaluateConditional (const DtPlan &plan, const DtSimCondExpr *conditional) |
| | Calls the evaluate method on the conditional's evaluator. More...
|
| |
| virtual bool | taskActive (int taskId) const |
| | Calls DtSimTaskManager::taskActive() on the task manager on the entity. More...
|
| |
| virtual bool | stopTask (int taskId) |
| | Calls DtSimTaskManager::stopTask() on the task manager on the entity. More...
|
| |
| virtual int | suspendAllTopLevelTasks () |
| | Suspends all top level tasks and returns the suspended id. More...
|
| |
| virtual bool | resumeSuspendedTask (int) |
| | Resumes the suspended task id. More...
|
| |
| virtual bool | hasTopLevelTasks () const |
| | RFeturns true if there are tasks executing. More...
|
| |
| virtual DtPlanVariableSubstitutor * | planVariableSubstitutor () const |
| | If not created, creates the plan variable substitutor from creator function, or, if creator function is not defined, from default class. More...
|
| |
| virtual bool | isSimCommandComplete (const DtPlan &plan, const DtSimCommand &command, const DtSimCommandContextPtr &context) const |
| | Create an executor and call it with the command context pointer to see if the command is complete. More...
|
| |
| virtual DtPlanVariableSubstitutor * | setPlanVariableSubstitutor (DtPlanVariableSubstitutor *v) |
| | Sets the plan variable substitutor and returns the old one. More...
|
| |
virtual std::vector
< DtReaderWriter * > | substituteVariablesIn (const DtRwVariableBindings &, DtReaderWriter *) const |
| | 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. More...
|
| |
virtual std::vector
< DtReaderWriter * > | substitutedValues (const DtRwVariableBindings &, const DtReaderWriter *) const |
| | 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. More...
|
| |
| virtual bool | subsituteUUIDIfAvailable (const DtRwVariableBindings &, const DtReaderWriter *, DtUUID &uuid) const |
| | If, in the supplied reader/writer there is a matching UUID to substitute, place the resultant value in the givem UUID and return true. More...
|
| |
| | DtPlanExecutor () |
| |
| virtual | ~DtPlanExecutor () |
| |
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.
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.