VR-Forces 4.6.1 Class Documentation
 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 | Private Member Functions
DtDeleteObjectCommandExecutor Class Reference

DtDeleteObjectCommandExecutor. More...

Inheritance diagram for DtDeleteObjectCommandExecutor:
Inheritance graph
[legend]

Public Member Functions

 DtDeleteObjectCommandExecutor (DtSimManager *simManager)
virtual ~DtDeleteObjectCommandExecutor ()
virtual bool execute (const DtSimCommand *command, DtSimCommandContextPtr &context, const DtUUID &entity, const DtPlan *=0)
 Checks to see if this is a delete-self command, and if so deletes the entity.
virtual bool execute (const DtSimCommand *command, DtSimCommandContextPtr &context, const DtPlan *=0)
 Nominal implementation of abstract method in simCommandExecutor.
- Public Member Functions inherited from DtSimCommandExecutor
 DtSimCommandExecutor (DtSimManager *simManager)
virtual ~DtSimCommandExecutor ()
virtual bool executeAndDistribute (const DtSimCommand *command, DtSimCommandContextPtr &context, 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, DtSimCommandContextPtr &context, 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.
virtual bool isSimCommandComplete (const DtSimCommand *command, const DtSimCommandContextPtr &context, const DtPlan *=0) const
 Will, by default, return true to indicate the sim command is complete.
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.

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

 DtDeleteObjectCommandExecutor ()
 Not implemented.
 DtDeleteObjectCommandExecutor (const DtDeleteObjectCommandExecutor &orig)
 Not implemented.
DtDeleteObjectCommandExecutoroperator= (const DtDeleteObjectCommandExecutor &orig)
 Not implemented.

Additional Inherited Members

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

Detailed Description

DtDeleteObjectCommandExecutor.

Executor for the DtDeleteObjectCommand DtSimCommand. Deletes the object named in the command.

Constructor & Destructor Documentation

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

Not implemented.

DtDeleteObjectCommandExecutor::DtDeleteObjectCommandExecutor ( const DtDeleteObjectCommandExecutor orig)
private

Not implemented.

Member Function Documentation

virtual bool DtDeleteObjectCommandExecutor::execute ( const DtSimCommand command,
DtSimCommandContextPtr context,
const DtUUID entity,
const DtPlan = 0 
)
virtual

Checks to see if this is a delete-self command, and if so deletes the entity.

Otherwise, deletes the object identified in the command itself.

Reimplemented from DtSimCommandExecutor.

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

Nominal implementation of abstract method in simCommandExecutor.

Implements DtSimCommandExecutor.

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

Not implemented.


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

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)