VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
DtMessageExecutive Class Reference

class DtMessageExecutive: More...

Inheritance diagram for DtMessageExecutive:
Inheritance graph
[legend]

Public Member Functions

 DtMessageExecutive ()
 default constructor
virtual ~DtMessageExecutive ()
 destructor
virtual void addSimMessageCallback (DtMessageCallbackFcn fcn, void *usrData)
 Add/Remove DtSimMessage callback functions.
virtual void removeSimMessageCallback (DtMessageCallbackFcn fcn, void *usrData)
virtual void processMessage (const DtSimMessage &msg) const
 Call the callbacks registered for the Radio message's type.
virtual int numSimCallbacks () const
 Get the number of sim message callbacks registered.

Static Public Member Functions

static unsigned generateMessageId ()
 advances theSplitId and returns the value
static unsigned maximumSignalDataSize ()
 returns the maximum number of bytes that can be sent in a signal interaction's data field.
static DtTime timeoutCheckInterval ()
static void setTimeoutCheckInterval (DtTime nSecs)
static DtTime timeoutDuration ()
static void setTimeoutDuration (DtTime nSecs)
static int maximumContentSize ()
 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 setMaximumContentSize (int sz)
 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.

Protected Member Functions

 DtMessageExecutive (const DtMessageExecutive &orig)
 copy constructor not implemented
DtMessageExecutiveoperator= (const DtMessageExecutive &orig)
 assignment operator not implemented

Protected Attributes

std::vector
< DtMessageCallbackInfo
mySimMessageCallbackList

Static Protected Attributes

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

Detailed Description

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().

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) const
virtual

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

Reimplemented in DtStringMessageExecutive, and DtIntMessageExecutive.

virtual int DtMessageExecutive::numSimCallbacks ( ) const
virtual

Get the number of sim message callbacks registered.

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

std::vector<DtMessageCallbackInfo> DtMessageExecutive::mySimMessageCallbackList
protected
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 Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)