VR-Forces Development_Version 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
MySimCommandExecutor Class Reference
Inheritance diagram for MySimCommandExecutor:
Inheritance graph
[legend]

Public Member Functions

 MySimCommandExecutor (DtSimManager *simManager)
virtual ~MySimCommandExecutor ()
virtual bool execute (const DtSimCommand *command)
 Perform the actual execution of the DtSimCommand.
virtual bool execute (const DtSimCommand *command, const DtString &objectName)
- Public Member Functions inherited from DtSimCommandExecutor
 DtSimCommandExecutor (DtSimManager *simManager)
virtual ~DtSimCommandExecutor ()
virtual bool execute (const DtSimCommand *command, const DtUUID &objectName)
 Performs the actual executor of the DtSimCommand in the context of a specific entity.

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

 MySimCommandExecutor ()
 MySimCommandExecutor (const MySimCommandExecutor &orig)
MySimCommandExecutoroperator= (const MySimCommandExecutor &orig)

Additional Inherited Members

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

Constructor & Destructor Documentation

MySimCommandExecutor::MySimCommandExecutor ( DtSimManager simManager)
virtual MySimCommandExecutor::~MySimCommandExecutor ( )
virtual
MySimCommandExecutor::MySimCommandExecutor ( )
private
MySimCommandExecutor::MySimCommandExecutor ( const MySimCommandExecutor orig)
private

Member Function Documentation

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

Perform the actual execution of the DtSimCommand.

Pure virtual function; must be overloaded by derived classes. This method executes the command in the global context. If the command should be executed differently when in the context of a specific entity (i.e. in that entity's plan), see execute() which takes an object name.

Returns
True if command was successfully carried out, false otherwise.

Implements DtSimCommandExecutor.

virtual bool MySimCommandExecutor::execute ( const DtSimCommand command,
const DtString objectName 
)
virtual
static DtSimCommandExecutor* MySimCommandExecutor::create ( DtSimManager simManager)
static
MySimCommandExecutor& MySimCommandExecutor::operator= ( const MySimCommandExecutor orig)
private

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

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)