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 | Protected Attributes | Private Member Functions
DtFinishTestCommandExecutor Class Reference

DtFinishTestCommandExecutor. More...

Inheritance diagram for DtFinishTestCommandExecutor:
Inheritance graph
[legend]

Public Member Functions

 DtFinishTestCommandExecutor (DtSimManager *simManager)
 
virtual ~DtFinishTestCommandExecutor ()
 
virtual bool execute (const DtSimCommand *command, DtSimCommandContextPtr &context, const DtPlan *=0)
 Prints message to the sim engine console. More...
 
virtual bool execute (const DtSimCommand *command, DtSimCommandContextPtr &context, const DtUUID &object, const DtPlan *=0)
 Prints message to the objectConsole for the object. More...
 
- 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 const DtString statusString (DtFinishTestStatus status) const
 a string of the status More...
 
virtual const void sendPause () const
 Sends a scenario pause interface message. More...
 
virtual void issueSimExit (DtFinishTestStatus statusEnum) const
 Sends exit command to all backends. More...
 

Protected Attributes

bool myShouldExit
 Exits the simulator at the end of the command. Used by nightly tests and initialized at the command line. More...
 
- Protected Attributes inherited from DtSimCommandExecutor
DtSimManagermySimManager
 

Private Member Functions

 DtFinishTestCommandExecutor ()
 Not implemented. More...
 
 DtFinishTestCommandExecutor (const DtFinishTestCommandExecutor &orig)
 Not implemented. More...
 
DtFinishTestCommandExecutoroperator= (const DtFinishTestCommandExecutor &orig)
 Not implemented. More...
 

Additional Inherited Members

- Static Protected Attributes inherited from DtSimCommandExecutor
static
DtSimCommandExecutorFactory
myFactory
 

Detailed Description

DtFinishTestCommandExecutor.

Executor for the DtFinishTestCommand DtSimCommand.

Constructor & Destructor Documentation

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

Not implemented.

DtFinishTestCommandExecutor::DtFinishTestCommandExecutor ( const DtFinishTestCommandExecutor orig)
private

Not implemented.

Member Function Documentation

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

Prints message to the sim engine console.

Implements DtSimCommandExecutor.

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

Prints message to the objectConsole for the object.

Reimplemented from DtSimCommandExecutor.

static DtSimCommandExecutor* DtFinishTestCommandExecutor::create ( DtSimManager simManager)
static
Returns
A new instance of this class.
virtual const DtString DtFinishTestCommandExecutor::statusString ( DtFinishTestStatus  status) const
protectedvirtual

a string of the status

virtual const void DtFinishTestCommandExecutor::sendPause ( ) const
protectedvirtual

Sends a scenario pause interface message.

virtual void DtFinishTestCommandExecutor::issueSimExit ( DtFinishTestStatus  statusEnum) const
protectedvirtual

Sends exit command to all backends.

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

Not implemented.

Member Data Documentation

bool DtFinishTestCommandExecutor::myShouldExit
protected

Exits the simulator at the end of the command. Used by nightly tests and initialized at the command line.


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)