VR-Forces 4.5 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
DtChangeHostilityCommandExecutor Class Reference

Executor for the DtChangeHostilityCommand DtSimCommand. More...

Inheritance diagram for DtChangeHostilityCommandExecutor:
Inheritance graph
[legend]

Public Member Functions

 DtChangeHostilityCommandExecutor (DtSimManager *simManager)
virtual ~DtChangeHostilityCommandExecutor ()
virtual bool execute (const DtSimCommand *command, const DtPlan *=0)
 Prints message to the sim engine console.
- Public Member Functions inherited from DtSimCommandExecutor
 DtSimCommandExecutor (DtSimManager *simManager)
virtual ~DtSimCommandExecutor ()
virtual bool executeAndDistribute (const DtSimCommand *command, const DtPlan *plan=0)
 Executes and then distributes the sim command by calling the execute and distribute functions in turn.
virtual bool executeAndDistribute (const DtSimCommand *command, const DtUUID &objectName, const DtPlan *plan=0)
 Executes and then distributes the sim command in the context of a specific entity by calling the execute and distribute functions in turn.

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

 DtChangeHostilityCommandExecutor ()
 Not implemented.
 DtChangeHostilityCommandExecutor (const DtChangeHostilityCommandExecutor &orig)
 Not implemented.
DtChangeHostilityCommandExecutoroperator= (const DtChangeHostilityCommandExecutor &orig)
 Not implemented.

Additional Inherited Members

- Protected Member Functions inherited from DtSimCommandExecutor
virtual bool execute (const DtSimCommand *command, const DtUUID &objectName, const DtPlan *plan=0)
 Performs the actual executor of the DtSimCommand in the context of a specific entity.
virtual void distribute (const DtSimCommand *command, const DtPlan *plan=0)
 Calls on the sim command distributor to distribute the command to registered callback functions.
virtual void distribute (const DtSimCommand *command, const DtUUID &objectName, const DtPlan *plan=0)
 Calls on the sim command distributor to distribute the command to registered callback functions, providing the context of a specific entity.
- Protected Attributes inherited from DtSimCommandExecutor
DtSimManagermySimManager
- Static Protected Attributes inherited from DtSimCommandExecutor
static
DtSimCommandExecutorFactory
myFactory

Detailed Description

Executor for the DtChangeHostilityCommand DtSimCommand.

Calls the hostility manage to make the change specified in the command.

Constructor & Destructor Documentation

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

Not implemented.

DtChangeHostilityCommandExecutor::DtChangeHostilityCommandExecutor ( const DtChangeHostilityCommandExecutor orig)
private

Not implemented.

Member Function Documentation

virtual bool DtChangeHostilityCommandExecutor::execute ( const DtSimCommand command,
const DtPlan = 0 
)
virtual

Prints message to the sim engine console.

Implements DtSimCommandExecutor.

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

Not implemented.


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

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)