VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions
DtAbandonPlanCommandExecutor Class Reference

DtAbandonPlanCommandExecutor.

Executor for the DtAbandonPlanCommand DtSimCommand. Abandons the plan of the object in question by sending the DtIfAbandonPlan message to it.

Inheritance diagram for DtAbandonPlanCommandExecutor:
Inheritance graph
[legend]

Public Member Functions

 DtAbandonPlanCommandExecutor (DtSimulationServices *simManager)
 
virtual ~DtAbandonPlanCommandExecutor ()
 
virtual bool execute (const DtSimCommand *command, DtSimCommandContextPtr &context, const DtPlan *=0)
 
- Public Member Functions inherited from DtSimCommandExecutor
 DtSimCommandExecutor (DtSimulationServices *simManager)
 
virtual ~DtSimCommandExecutor ()
 
virtual bool executeAndDistribute (const DtSimCommand *command, DtSimCommandContextPtr &context, const DtPlan *plan=0)
 
virtual bool executeAndDistribute (const DtSimCommand *command, DtSimCommandContextPtr &context, const DtUUID &objectName, const DtPlan *plan=0)
 
virtual bool isSimCommandComplete (const DtSimCommand *command, const DtSimCommandContextPtr &context, const DtPlan *=0) const
 
virtual void distribute (const DtSimCommand *command, const DtPlan *plan=0)
 
virtual void distribute (const DtSimCommand *command, const DtUUID &objectName, const DtPlan *plan=0)
 

Static Public Member Functions

static DtSimCommandExecutorcreate (DtSimulationServices *simManager)
 
- Static Public Member Functions inherited from DtSimCommandExecutor
static void setFactory (DtSimCommandExecutorFactory *factory)
 
static DtSimCommandExecutorcreateSimCommandExecutor (const DtSimCommandMessageType &type, DtSimulationServices *simManager)
 

Private Member Functions

 DtAbandonPlanCommandExecutor ()
 
 DtAbandonPlanCommandExecutor (const DtAbandonPlanCommandExecutor &orig)
 
DtAbandonPlanCommandExecutoroperator= (const DtAbandonPlanCommandExecutor &orig)
 

Additional Inherited Members

- Protected Member Functions inherited from DtSimCommandExecutor
virtual bool execute (const DtSimCommand *command, DtSimCommandContextPtr &context, const DtUUID &objectName, const DtPlan *plan=0)
 
- Protected Attributes inherited from DtSimCommandExecutor
DtSimulationServicesmySimulationServices
 
- Static Protected Attributes inherited from DtSimCommandExecutor
static
DtSimCommandExecutorFactory
myFactory
 

Constructor & Destructor Documentation

DtAbandonPlanCommandExecutor::DtAbandonPlanCommandExecutor ( DtSimulationServices simManager)
virtual DtAbandonPlanCommandExecutor::~DtAbandonPlanCommandExecutor ( )
virtual
DtAbandonPlanCommandExecutor::DtAbandonPlanCommandExecutor ( )
private

Not implemented.

DtAbandonPlanCommandExecutor::DtAbandonPlanCommandExecutor ( const DtAbandonPlanCommandExecutor orig)
private

Not implemented.

Member Function Documentation

virtual bool DtAbandonPlanCommandExecutor::execute ( const DtSimCommand command,
DtSimCommandContextPtr context,
const DtPlan = 0 
)
virtual

Abandons the plan.

Parameters
commandmust be DtAbandonPlanCommand.

Implements DtSimCommandExecutor.

static DtSimCommandExecutor* DtAbandonPlanCommandExecutor::create ( DtSimulationServices simManager)
static
Returns
A new instance of this class.
DtAbandonPlanCommandExecutor& DtAbandonPlanCommandExecutor::operator= ( const DtAbandonPlanCommandExecutor orig)
private

Not implemented.


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

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)