VR-Forces 4.8 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 | Protected Member Functions | Private Member Functions
DtSimCommandDistributionExecutor Class Reference

An executor for a sim command that has no specific execution, but should still be distributed to any registered callbacks. More...

Inheritance diagram for DtSimCommandDistributionExecutor:
Inheritance graph
[legend]

Public Member Functions

 DtSimCommandDistributionExecutor (DtSimManager *simManager)
 
virtual ~DtSimCommandDistributionExecutor ()
 
- 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. More...
 
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. More...
 
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. More...
 
virtual void distribute (const DtSimCommand *command, const DtPlan *plan=0)
 Calls on the sim command distributor to distribute the command to registered callback functions. More...
 
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. More...
 

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. More...
 
static DtSimCommandExecutorcreateSimCommandExecutor (const DtSimCommandMessageType &type, DtSimManager *simManager)
 Uses the static factory member to create a new executor of the specified type. More...
 

Protected Member Functions

virtual bool execute (const DtSimCommand *command, DtSimCommandContextPtr &context, const DtPlan *plan=0)
 Perform the actual execution of the DtSimCommand. More...
 
- Protected Member Functions inherited from DtSimCommandExecutor
virtual bool execute (const DtSimCommand *command, DtSimCommandContextPtr &context, const DtUUID &objectName, const DtPlan *plan=0)
 Performs the actual executor of the DtSimCommand in the context of a specific entity. More...
 

Private Member Functions

 DtSimCommandDistributionExecutor ()
 Not implemented. More...
 
 DtSimCommandDistributionExecutor (const DtSimCommandDistributionExecutor &orig)
 Not implemented. More...
 
DtSimCommandDistributionExecutoroperator= (const DtSimCommandDistributionExecutor &orig)
 Not implemented. More...
 

Additional Inherited Members

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

Detailed Description

An executor for a sim command that has no specific execution, but should still be distributed to any registered callbacks.

Constructor & Destructor Documentation

DtSimCommandDistributionExecutor::DtSimCommandDistributionExecutor ( DtSimManager simManager)
inline
virtual DtSimCommandDistributionExecutor::~DtSimCommandDistributionExecutor ( )
inlinevirtual
DtSimCommandDistributionExecutor::DtSimCommandDistributionExecutor ( )
private

Not implemented.

DtSimCommandDistributionExecutor::DtSimCommandDistributionExecutor ( const DtSimCommandDistributionExecutor orig)
private

Not implemented.

Member Function Documentation

static DtSimCommandExecutor* DtSimCommandDistributionExecutor::create ( DtSimManager simManager)
static
virtual bool DtSimCommandDistributionExecutor::execute ( const DtSimCommand command,
DtSimCommandContextPtr context,
const DtPlan plan = 0 
)
inlineprotectedvirtual

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.

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

Not implemented.


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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)