VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions
DtStealthCommandExecutor Class Reference

Executor for the DtStealthCommandCommand DtSimCommand. More...

Inheritance diagram for DtStealthCommandExecutor:
Inheritance graph
[legend]

Public Member Functions

 DtStealthCommandExecutor (DtSimManager *simManager)
virtual ~DtStealthCommandExecutor ()
virtual bool execute (const DtSimCommand *command)
 Executes command.
virtual bool execute (const DtSimCommand *command, const DtString &objectName)
 Performs the actual executor of the DtSimCommand in the context of a specific entity.
- 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.

Private Member Functions

 DtStealthCommandExecutor ()
 Not implemented.
 DtStealthCommandExecutor (const DtStealthCommandExecutor &orig)
 Not implemented.
DtStealthCommandExecutoroperator= (const DtStealthCommandExecutor &orig)
 Not implemented.

Additional Inherited Members

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

Detailed Description

Executor for the DtStealthCommandCommand DtSimCommand.

Calls the stealth command manager to execute stealth commands.

Constructor & Destructor Documentation

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

Not implemented.

DtStealthCommandExecutor::DtStealthCommandExecutor ( const DtStealthCommandExecutor orig)
private

Not implemented.

Member Function Documentation

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

Executes command.

Implements DtSimCommandExecutor.

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

Performs the actual executor of the DtSimCommand in the context of a specific entity.

The default implementation of this is to call execute(command), and simply throw out the objectName. This method should be reimplemented by deriving classes if the command is executed differently when in in the context of an object.

Reimplemented from DtSimCommandExecutor.

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

Not implemented.


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

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)