VR-Forces 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 | Protected Member Functions | Private Member Functions
DtTaskCommandExecutor Class Reference

DtTaskCommandExecutor.

Executor for the DtTaskCommand DtSimCommand. Issues the enclosed task to the entity specified in the command.

Inheritance diagram for DtTaskCommandExecutor:
Inheritance graph
[legend]

Public Member Functions

 DtTaskCommandExecutor (DtSimulationServices *simManager)
 
virtual ~DtTaskCommandExecutor () override
 
virtual bool execute (const DtSimCommand *command, DtSimCommandContextPtr &context, const DtPlan *=0) override
 
virtual bool execute (const DtSimCommand *command, DtSimCommandContextPtr &context, const DtUUID &object, const DtPlan *=0) override
 
- 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)
 

Protected Member Functions

virtual bool executeCommand (const DtSimCommand *command, const DtUUID &sender, const DtPlan *=0)
 

Private Member Functions

 DtTaskCommandExecutor ()
 
 DtTaskCommandExecutor (const DtTaskCommandExecutor &orig)
 
DtTaskCommandExecutoroperator= (const DtTaskCommandExecutor &orig)
 

Additional Inherited Members

- Protected Attributes inherited from DtSimCommandExecutor
DtSimulationServicesmySimulationServices
 
- Static Protected Attributes inherited from DtSimCommandExecutor
static
DtSimCommandExecutorFactory
myFactory
 

Constructor & Destructor Documentation

DtTaskCommandExecutor::DtTaskCommandExecutor ( DtSimulationServices simManager)
virtual DtTaskCommandExecutor::~DtTaskCommandExecutor ( )
overridevirtual
DtTaskCommandExecutor::DtTaskCommandExecutor ( )
private

Not implemented.

DtTaskCommandExecutor::DtTaskCommandExecutor ( const DtTaskCommandExecutor orig)
private

Not implemented.

Member Function Documentation

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

Calls executeCommand() with null senderName.

Implements DtSimCommandExecutor.

virtual bool DtTaskCommandExecutor::execute ( const DtSimCommand command,
DtSimCommandContextPtr context,
const DtUUID object,
const DtPlan = 0 
)
overridevirtual

Overridden to include the name of the entity sending the task in the task radio message. Calls executeCommand with the supplied object as the sender.

Reimplemented from DtSimCommandExecutor.

static DtSimCommandExecutor* DtTaskCommandExecutor::create ( DtSimulationServices simManager)
static
Returns
A new instance of this class.
virtual bool DtTaskCommandExecutor::executeCommand ( const DtSimCommand command,
const DtUUID sender,
const DtPlan = 0 
)
protectedvirtual

Executes the command by sending out a task radio message.

Parameters
commandmust be DtTaskCommand.
DtTaskCommandExecutor& DtTaskCommandExecutor::operator= ( const DtTaskCommandExecutor orig)
private

Not implemented.


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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)