MAK RTIspy API Documentation for HLA 1516
Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions
DtRtiexecCmdProc Class Reference

The DtRtiexecCmdProc accepts commands to be given to the exec and is responsible for processing them. More...

+ Collaboration diagram for DtRtiexecCmdProc:

List of all members.

Public Member Functions

 DtRtiexecCmdProc ()
 Constructor.
virtual ~DtRtiexecCmdProc ()
 Destructor.
virtual void setExec (DtBoost::shared_ptr< DtRtiExec > exec)
 Sets the exec to accept the commands.
virtual void postCommand (std::auto_ptr< DtRtiExecCmd > cmd)
 Post a functor command to be executed by the rtiexec back-end.
virtual void tick ()
 Performs tick processing.

Static Public Member Functions

static void tick (void *usr)
 Tick callback function.

Protected Types

typedef std::list< DtRtiExecCmd * > DtExecThreadEventList

Protected Member Functions

virtual bool executeCommand ()
 Execute a single posted command.

Protected Attributes

DtBoost::shared_ptr< DtRtiExecmyExec
 The rtiexec which is to be given commands.
DtExecThreadEventList myCommands
 List of commands to be executed.

Private Member Functions

 DtRtiexecCmdProc (const DtRtiexecCmdProc &orig)
 Copy constructor unimplemented.
DtRtiexecCmdProcoperator= (const DtRtiexecCmdProc &orig)
 Assignment unimplemented.

Detailed Description

The DtRtiexecCmdProc accepts commands to be given to the exec and is responsible for processing them.


Member Typedef Documentation

typedef std::list< DtRtiExecCmd* > DtRtiexecCmdProc::DtExecThreadEventList [protected]

Constructor & Destructor Documentation

Constructor.

Destructor.

References myExec, and tick().

Copy constructor unimplemented.


Member Function Documentation

bool DtRtiexecCmdProc::executeCommand ( ) [protected, virtual]

Execute a single posted command.

References myCommands, and myExec.

Referenced by tick().

DtRtiexecCmdProc& DtRtiexecCmdProc::operator= ( const DtRtiexecCmdProc orig) [private]

Assignment unimplemented.

void DtRtiexecCmdProc::postCommand ( std::auto_ptr< DtRtiExecCmd cmd) [virtual]

Post a functor command to be executed by the rtiexec back-end.

References myCommands.

void DtRtiexecCmdProc::setExec ( DtBoost::shared_ptr< DtRtiExec exec) [virtual]

Sets the exec to accept the commands.

References myExec, and tick().

void DtRtiexecCmdProc::tick ( void *  usr) [static]

Tick callback function.

References tick().

void DtRtiexecCmdProc::tick ( ) [virtual]

Performs tick processing.

References executeCommand(), and myExec.

Referenced by setExec(), tick(), and ~DtRtiexecCmdProc().


Member Data Documentation

List of commands to be executed.

Referenced by executeCommand(), and postCommand().

DtBoost::shared_ptr<DtRtiExec> DtRtiexecCmdProc::myExec [protected]

The rtiexec which is to be given commands.

Referenced by executeCommand(), setExec(), tick(), and ~DtRtiexecCmdProc().


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

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)