VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions
DtInterfaceMessageExecutive Class Reference

Contains the DtInterfaceMessageExecutive class declaration. More...

Inheritance diagram for DtInterfaceMessageExecutive:
Inheritance graph
[legend]

Public Member Functions

 DtInterfaceMessageExecutive ()
 default constructor
virtual ~DtInterfaceMessageExecutive ()
 destructor
virtual int messageType (const DtSimMessage &message) const
 Returns the string to be used as index onto the message exec list.
- Public Member Functions inherited from DtIntMessageExecutive
 DtIntMessageExecutive ()
 default constructor
virtual ~DtIntMessageExecutive ()
 destructor
virtual void addMessageCallback (int type, DtMessageCallbackFcn fcn, void *usrData)
 Add/Remove a function to be called when a particular message type is received.
virtual void removeMessageCallback (int type, DtMessageCallbackFcn fcn, void *usrData)
virtual void processMessage (const DtSimMessage &msg) const
 Call the callbacks registered for the Radio message's type.
virtual int numCallbacks (int type) const
 Get the number of callbacks registered for a radio message type.
- Public Member Functions inherited from DtMessageExecutive
 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 int numSimCallbacks () const
 Get the number of sim message callbacks registered.

Protected Member Functions

 DtInterfaceMessageExecutive (const DtInterfaceMessageExecutive &orig)
 copy constructor
DtInterfaceMessageExecutiveoperator= (const DtInterfaceMessageExecutive &orig)
 assignment operator
- Protected Member Functions inherited from DtIntMessageExecutive
 DtIntMessageExecutive (const DtIntMessageExecutive &orig)
 copy constructor not implemented
DtIntMessageExecutiveoperator= (const DtIntMessageExecutive &orig)
 assignment operator not implemented
- Protected Member Functions inherited from DtMessageExecutive
 DtMessageExecutive (const DtMessageExecutive &orig)
 copy constructor not implemented
DtMessageExecutiveoperator= (const DtMessageExecutive &orig)
 assignment operator not implemented

Additional Inherited Members

- Public Types inherited from DtIntMessageExecutive
typedef std::map< int,
DtMessageCallbackList
DtIntCallbackMap
- Static Public Member Functions inherited from DtMessageExecutive
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)
- Protected Attributes inherited from DtIntMessageExecutive
DtIntCallbackMap myIntCallbackMap
- Static Protected Attributes inherited from DtMessageExecutive
static int theMaximumContentSize
static unsigned theMaxSignalDataSize
static unsigned theSplitId
static DtTime theTimeoutCheckInterval
static DtTime theTimeoutDuration

Detailed Description

Contains the DtInterfaceMessageExecutive class declaration.

DtInterfaceMessageExecutive is a message executive that manages callbacks on interface messages.

Constructor & Destructor Documentation

DtInterfaceMessageExecutive::DtInterfaceMessageExecutive ( )

default constructor

virtual DtInterfaceMessageExecutive::~DtInterfaceMessageExecutive ( )
virtual

destructor

DtInterfaceMessageExecutive::DtInterfaceMessageExecutive ( const DtInterfaceMessageExecutive orig)
protected

copy constructor

Member Function Documentation

virtual int DtInterfaceMessageExecutive::messageType ( const DtSimMessage message) const
virtual

Returns the string to be used as index onto the message exec list.

This one returns the task type from a task msg.

Implements DtIntMessageExecutive.

DtInterfaceMessageExecutive& DtInterfaceMessageExecutive::operator= ( const DtInterfaceMessageExecutive orig)
protected

assignment operator


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

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)