VR-Forces Developer's Guide
 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
DtCreateObjectCommandExecutor Class Reference

Executor for the DtCreateObjectCommand DtSimCommand. Creates a new object on the local sim engine using the data from the creation sim command.

Inheritance diagram for DtCreateObjectCommandExecutor:
Inheritance graph
[legend]

Public Member Functions

 DtCreateObjectCommandExecutor (DtSimulationServices *simManager)
 
virtual ~DtCreateObjectCommandExecutor ()
 
virtual bool execute (const DtSimCommand *command, DtSimCommandContextPtr &context, const DtPlan *=0)
 
virtual bool isSimCommandComplete (const DtSimCommand *command, const DtSimCommandContextPtr &context, const DtPlan *=0) const
 
- Public Member Functions inherited from DtSimCommandExecutor
 DtSimCommandExecutor (DtSimulationServices *simManager)
 
virtual ~DtSimCommandExecutor ()
 
virtual bool executeAndDistribute (const DtSimCommand *command, DtSimCommandContextPtr &context, const DtPlan *plan=0)
 
virtual bool executeAndDistribute (const DtSimCommand *command, DtSimCommandContextPtr &context, const DtUUID &objectName, const DtPlan *plan=0)
 
virtual void distribute (const DtSimCommand *command, const DtPlan *plan=0)
 
virtual void distribute (const DtSimCommand *command, const DtUUID &objectName, const DtPlan *plan=0)
 

Static Public Member Functions

static DtSimCommandExecutorcreate (DtSimulationServices *simManager)
 
- Static Public Member Functions inherited from DtSimCommandExecutor
static void setFactory (DtSimCommandExecutorFactory *factory)
 
static DtSimCommandExecutorcreateSimCommandExecutor (const DtSimCommandMessageType &type, DtSimulationServices *simManager)
 

Private Member Functions

 DtCreateObjectCommandExecutor ()
 
 DtCreateObjectCommandExecutor (const DtCreateObjectCommandExecutor &orig)
 
DtCreateObjectCommandExecutoroperator= (const DtCreateObjectCommandExecutor &orig)
 

Additional Inherited Members

- Protected Member Functions inherited from DtSimCommandExecutor
virtual bool execute (const DtSimCommand *command, DtSimCommandContextPtr &context, const DtUUID &objectName, const DtPlan *plan=0)
 
- Protected Attributes inherited from DtSimCommandExecutor
DtSimulationServicesmySimulationServices
 
- Static Protected Attributes inherited from DtSimCommandExecutor
static
DtSimCommandExecutorFactory
myFactory
 

Constructor & Destructor Documentation

DtCreateObjectCommandExecutor::DtCreateObjectCommandExecutor ( DtSimulationServices simManager)
virtual DtCreateObjectCommandExecutor::~DtCreateObjectCommandExecutor ( )
virtual
DtCreateObjectCommandExecutor::DtCreateObjectCommandExecutor ( )
private

Not implemented.

DtCreateObjectCommandExecutor::DtCreateObjectCommandExecutor ( const DtCreateObjectCommandExecutor orig)
private

Not implemented.

Member Function Documentation

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

Creates the new object.

Parameters
commandmust be DtCreateObjectCommand.

Implements DtSimCommandExecutor.

static DtSimCommandExecutor* DtCreateObjectCommandExecutor::create ( DtSimulationServices simManager)
static
Returns
A new instance of this class.
virtual bool DtCreateObjectCommandExecutor::isSimCommandComplete ( const DtSimCommand command,
const DtSimCommandContextPtr context,
const DtPlan = 0 
) const
virtual

If this is called the last execute did not immediately create the object. The context creates enough information necessary to. see if the object has yet been created.

Reimplemented from DtSimCommandExecutor.

DtCreateObjectCommandExecutor& DtCreateObjectCommandExecutor::operator= ( const DtCreateObjectCommandExecutor orig)
private

Not implemented.


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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)