VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes | Private Member Functions
DtGlobalPlanExecutor Class Reference

Concrete implementation of the DtPlanExecutor which interfaces with the VRF simulation engine for global plans. More...

Inheritance diagram for DtGlobalPlanExecutor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtGlobalPlanExecutor (DtSimManager *simManager)
virtual ~DtGlobalPlanExecutor ()
virtual bool executeSetDataRequest (const DtPlan &plan, const DtSetDataRequest &sdr)
 Prints a warning indicating that Set Data Requests are not handled by global plans.
virtual bool executeTask (const DtPlan &plan, const DtSimTask &task)
 Prints a warning indicating that Tasks are not handled by global plans.
virtual bool executeSimCommand (const DtPlan &plan, const DtSimCommand &command)
 Executes the command.
virtual bool evaluateConditional (const DtPlan &plan, const DtSimCondExpr *conditional)
 Calls the evaluate method on the conditional's evaluator.
virtual bool taskActive (int taskId) const
virtual bool stopTask (int taskId)

Protected Attributes

DtSimManagermySimManager

Private Member Functions

 DtGlobalPlanExecutor (const DtGlobalPlanExecutor &orig)
 Not implemented.
DtGlobalPlanExecutoroperator= (const DtGlobalPlanExecutor &orig)
 Not implemented.

Detailed Description

Concrete implementation of the DtPlanExecutor which interfaces with the VRF simulation engine for global plans.

Tasks and Set Data Requests are not handled by global plans, so these methods print a warning.


Constructor & Destructor Documentation

Not implemented.


Member Function Documentation

DtGlobalPlanExecutor& DtGlobalPlanExecutor::operator= ( const DtGlobalPlanExecutor orig) [private]

Not implemented.

virtual bool DtGlobalPlanExecutor::executeSetDataRequest ( const DtPlan plan,
const DtSetDataRequest sdr 
) [virtual]

Prints a warning indicating that Set Data Requests are not handled by global plans.

Implements DtPlanExecutor.

virtual bool DtGlobalPlanExecutor::executeTask ( const DtPlan plan,
const DtSimTask task 
) [virtual]

Prints a warning indicating that Tasks are not handled by global plans.

Implements DtPlanExecutor.

virtual bool DtGlobalPlanExecutor::executeSimCommand ( const DtPlan plan,
const DtSimCommand command 
) [virtual]

Executes the command.

Calls processStealthCommand() for stealth subclasses of command.

Implements DtPlanExecutor.

virtual bool DtGlobalPlanExecutor::evaluateConditional ( const DtPlan plan,
const DtSimCondExpr conditional 
) [virtual]

Calls the evaluate method on the conditional's evaluator.

Implements DtPlanExecutor.

virtual bool DtGlobalPlanExecutor::taskActive ( int  taskId) const [inline, virtual]
Returns:
False. Tasks are never active in global plans.

Implements DtPlanExecutor.

virtual bool DtGlobalPlanExecutor::stopTask ( int  taskId) [inline, virtual]
Returns:
False. Tasks always execute immediately for global plans, so they cannot be stopped.

Implements DtPlanExecutor.


Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)