VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions
DtTaskCommandExecutor Class Reference

DtTaskCommandExecutor. More...

Inheritance diagram for DtTaskCommandExecutor:
Inheritance graph
[legend]

Public Member Functions

 DtTaskCommandExecutor (DtSimManager *simManager)
virtual ~DtTaskCommandExecutor ()
virtual bool execute (const DtSimCommand *command)
 Calls executeCommand() with null senderName.
virtual bool execute (const DtSimCommand *command, const DtString &objectName)
 Overridden to include the name of the entity sending the task in the task radio message.
- Public Member Functions inherited from DtSimCommandExecutor
 DtSimCommandExecutor (DtSimManager *simManager)
virtual ~DtSimCommandExecutor ()

Static Public Member Functions

static DtSimCommandExecutorcreate (DtSimManager *simManager)
- Static Public Member Functions inherited from DtSimCommandExecutor
static void setFactory (DtSimCommandExecutorFactory *factory)
 Sets the static factory member.
static DtSimCommandExecutorcreateSimCommandExecutor (const DtSimCommandMessageType &type, DtSimManager *simManager)
 Uses the static factory member to create a new executor of the specified type.

Protected Member Functions

virtual bool executeCommand (const DtSimCommand *command, const DtString &senderName)
 Executes the command by sending out a task radio message.

Private Member Functions

 DtTaskCommandExecutor ()
 Not implemented.
 DtTaskCommandExecutor (const DtTaskCommandExecutor &orig)
 Not implemented.
DtTaskCommandExecutoroperator= (const DtTaskCommandExecutor &orig)
 Not implemented.

Additional Inherited Members

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

Detailed Description

DtTaskCommandExecutor.

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

Constructor & Destructor Documentation

DtTaskCommandExecutor::DtTaskCommandExecutor ( DtSimManager simManager)
virtual DtTaskCommandExecutor::~DtTaskCommandExecutor ( )
virtual
DtTaskCommandExecutor::DtTaskCommandExecutor ( )
private

Not implemented.

DtTaskCommandExecutor::DtTaskCommandExecutor ( const DtTaskCommandExecutor orig)
private

Not implemented.

Member Function Documentation

virtual bool DtTaskCommandExecutor::execute ( const DtSimCommand command)
virtual

Calls executeCommand() with null senderName.

Implements DtSimCommandExecutor.

virtual bool DtTaskCommandExecutor::execute ( const DtSimCommand command,
const DtString objectName 
)
virtual

Overridden to include the name of the entity sending the task in the task radio message.

Calls executeCommand with the supplied objectName as the senderName.

Reimplemented from DtSimCommandExecutor.

static DtSimCommandExecutor* DtTaskCommandExecutor::create ( DtSimManager simManager)
static
Returns
A new instance of this class.
virtual bool DtTaskCommandExecutor::executeCommand ( const DtSimCommand command,
const DtString senderName 
)
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 Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)