VR-Forces 5.0.3 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 | Protected Types | Protected Member Functions | Protected Attributes | Static Protected Attributes
DtMessageExecutive Class Reference

class DtMessageExecutive:

DtMessageExecutive is an abstract base class. Derived classes are used to manage callbacks on particular message types. For example, as task message executive would have a list of callback lists indexed ty task type. All indices are ints, and are provided to the executive by overriding the pure virtual function indexType().

Inheritance diagram for DtMessageExecutive:
Inheritance graph
[legend]

Public Member Functions

 DtMessageExecutive ()
 
virtual ~DtMessageExecutive ()
 
virtual void addSimMessageCallback (DtMessageCallbackFcn fcn, void *usrData)
 
virtual void removeSimMessageCallback (DtMessageCallbackFcn fcn, void *usrData)
 
virtual void processMessage (const DtSimMessage &msg)
 

Static Public Member Functions

static unsigned generateMessageId ()
 
static unsigned maximumSignalDataSize ()
 
static DtTime timeoutCheckInterval ()
 
static void setTimeoutCheckInterval (DtTime nSecs)
 
static DtTime timeoutDuration ()
 
static void setTimeoutDuration (DtTime nSecs)
 
static int maximumContentSize ()
 
static void setMaximumContentSize (int sz)
 

Protected Types

typedef DtCallbackList
< DtSimMessage * > 
DtSimMessageCallbackList
 

Protected Member Functions

 DtMessageExecutive (const DtMessageExecutive &orig)
 
DtMessageExecutiveoperator= (const DtMessageExecutive &orig)
 

Protected Attributes

DtSimMessageCallbackList mySimMessageCallbackList
 

Static Protected Attributes

static int theMaximumContentSize
 
static unsigned theMaxSignalDataSize
 
static unsigned theSplitId
 
static DtTime theTimeoutCheckInterval
 
static DtTime theTimeoutDuration
 

Member Typedef Documentation

Constructor & Destructor Documentation

DtMessageExecutive::DtMessageExecutive ( )

default constructor

virtual DtMessageExecutive::~DtMessageExecutive ( )
virtual

destructor

DtMessageExecutive::DtMessageExecutive ( const DtMessageExecutive orig)
protected

copy constructor not implemented

Member Function Documentation

virtual void DtMessageExecutive::addSimMessageCallback ( DtMessageCallbackFcn  fcn,
void *  usrData 
)
virtual

Add/Remove DtSimMessage callback functions.

virtual void DtMessageExecutive::removeSimMessageCallback ( DtMessageCallbackFcn  fcn,
void *  usrData 
)
virtual
virtual void DtMessageExecutive::processMessage ( const DtSimMessage msg)
virtual

Call the callbacks registered for the Radio message's type.

Reimplemented in DtStringMessageExecutive, and DtIntMessageExecutive.

static unsigned DtMessageExecutive::generateMessageId ( )
static

advances theSplitId and returns the value

static int DtMessageExecutive::maximumContentSize ( )
static

returns the maximum number of bytes that can be added to a data interaction, and not overrun the maximum packet buffer size in VR-Link.

static void DtMessageExecutive::setMaximumContentSize ( int  sz)
static

returns the maximum number of bytes that can be added to a data interaction, and not overrun the maximum packet buffer size in VR-Link.

static unsigned DtMessageExecutive::maximumSignalDataSize ( )
static

returns the maximum number of bytes that can be sent in a signal interaction's data field.

static DtTime DtMessageExecutive::timeoutCheckInterval ( )
static
static void DtMessageExecutive::setTimeoutCheckInterval ( DtTime  nSecs)
static
static DtTime DtMessageExecutive::timeoutDuration ( )
static
static void DtMessageExecutive::setTimeoutDuration ( DtTime  nSecs)
static
DtMessageExecutive& DtMessageExecutive::operator= ( const DtMessageExecutive orig)
protected

assignment operator not implemented

Member Data Documentation

DtSimMessageCallbackList DtMessageExecutive::mySimMessageCallbackList
mutableprotected
int DtMessageExecutive::theMaximumContentSize
staticprotected
unsigned DtMessageExecutive::theMaxSignalDataSize
staticprotected
unsigned DtMessageExecutive::theSplitId
staticprotected
DtTime DtMessageExecutive::theTimeoutCheckInterval
staticprotected
DtTime DtMessageExecutive::theTimeoutDuration
staticprotected

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

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)