MAK RTIspy API Documentation for HLA Evolved
Public Member Functions | Static Public Member Functions | Protected Member Functions
DtInteractionRoMsg Class Reference

Message for sending receive order interaciotns. More...

+ Inheritance diagram for DtInteractionRoMsg:
+ Collaboration diagram for DtInteractionRoMsg:

List of all members.

Public Member Functions

 DtInteractionRoMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructors.
 DtInteractionRoMsg (DtInteractionClassHandle theInteraction, const DtPhvps &theParameters, char const *theTag, unsigned long channel, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 DtInteractionRoMsg (const DtNetInteractionMsg *netRepMsg, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
virtual ~DtInteractionRoMsg ()
 Destructor.
virtual DtRtiMsgclone (bool copy=true) const
 Return a copy/empty object of the same type as this.
virtual void set (DtInteractionClassHandle theInteraction, const DtPhvps &theParameters, char const *theTag, unsigned long channel)
 Set all fields simultaneously.
virtual void setHandle (DtInteractionClassHandle hand)
 Set/Get handle.
virtual DtInteractionClassHandle handle () const
virtual void printData (DtLogicalTimeFactory *logicalTimeFactory) const
 Print the data section.

Static Public Member Functions

static DtRtiMsgcreate (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Creators.
static DtRtiMsgcreate (const DtNetMsgHeader *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
static void addCallback (DtConnectionMgr *conn, DtInteractionCb cb, void *usr, bool isMomCallback=false)
 Callback management.
static void removeCallback (DtConnectionMgr *conn, DtInteractionCb cb, void *usr, bool isMomCallback=false)

Protected Member Functions

virtual DtNetParamsnetParams ()
 Returns pointer to the network rep of the pvList.
virtual DtNetBigParamsnetBigParams ()
 Supports big parameter values > 64K.
virtual DtNetInteractionMsgnetInterRoMsg ()
 The network representation.
virtual const DtNetInteractionMsgnetInterRoMsg () const
virtual DtRtiMsgKind internalDtRtiMsgKind ()
 Returns the kind of an Interaction Msg.
virtual int minSize (const DtPhvps *params=NULL, char const *theTag=NULL) const
 Returns minimum size of a message, including header, time, and tag.
virtual void setTagSize (int size)
 Set/Get tag size.
virtual int tagSize () const
virtual DtNetU32 * channelPtr () const
 Returns pointer to the channel in the netMsg.
virtual char * tagPtr ()
 Returns pointer to the tag in the netMsg.
virtual DtInteractionRoMsgselfRo () const
 Casts away const-ness.

Detailed Description

Message for sending receive order interaciotns.


Constructor & Destructor Documentation

DtInteractionRoMsg::DtInteractionRoMsg ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER)

Constructors.

References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), and minSize().

Referenced by clone(), create(), and DtInteractionRoMsg().

DtInteractionRoMsg::DtInteractionRoMsg ( DtInteractionClassHandle  theInteraction,
const DtPhvps &  theParameters,
char const *  theTag,
unsigned long  channel,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)
DtInteractionRoMsg::DtInteractionRoMsg ( const DtNetInteractionMsg netRepMsg,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)

Destructor.


Member Function Documentation

void DtInteractionRoMsg::addCallback ( DtConnectionMgr conn,
DtInteractionCb  cb,
void *  usr,
bool  isMomCallback = false 
) [static]
DtNetU32 * DtInteractionRoMsg::channelPtr ( ) const [protected, virtual]

Returns pointer to the channel in the netMsg.

Implements DtInteractionMsg.

References netInterRoMsg(), and DtNetInteractionMsg::tagSize.

Referenced by tagPtr().

DtRtiMsg * DtInteractionRoMsg::clone ( bool  copy = true) const [virtual]

Return a copy/empty object of the same type as this.

Implements DtRtiMsg.

References DtInteractionRoMsg(), and netInterRoMsg().

DtRtiMsg * DtInteractionRoMsg::create ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER) [static]

Creators.

References DtInteractionRoMsg().

Referenced by DtDfltMsgFactory::DtDfltMsgFactory().

DtRtiMsg * DtInteractionRoMsg::create ( const DtNetMsgHeader initial,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
) [static]

References DtInteractionRoMsg().

Implements DtInteractionMsg.

References DtNetInteractionMsg::handle, and netInterRoMsg().

Referenced by printData().

Returns the kind of an Interaction Msg.

Implements DtRtiMsg.

References DtInteractionMsg::channelIncluded(), DtDdmInteractionRoMsgKind, and DtInteractionRoMsgKind.

Referenced by DtInteractionRoMsg().

int DtInteractionRoMsg::minSize ( const DtPhvps *  params = NULL,
char const *  theTag = NULL 
) const [protected, virtual]

Returns minimum size of a message, including header, time, and tag.

Referenced by DtInteractionRoMsg().

Supports big parameter values > 64K.

Implements DtInteractionMsg.

References DtInteractionMsg::tagFieldSize(), and tagPtr().

The network representation.

Referenced by channelPtr(), clone(), handle(), setHandle(), setTagSize(), and tagSize().

const DtNetInteractionMsg * DtInteractionRoMsg::netInterRoMsg ( ) const [protected, virtual]
DtNetParams * DtInteractionRoMsg::netParams ( ) [protected, virtual]

Returns pointer to the network rep of the pvList.

Implements DtInteractionMsg.

References DtInteractionMsg::tagFieldSize(), and tagPtr().

void DtInteractionRoMsg::printData ( DtLogicalTimeFactory logicalTimeFactory) const [virtual]
void DtInteractionRoMsg::removeCallback ( DtConnectionMgr conn,
DtInteractionCb  cb,
void *  usr,
bool  isMomCallback = false 
) [static]
DtInteractionRoMsg * DtInteractionRoMsg::selfRo ( ) const [inline, protected, virtual]

Casts away const-ness.

void DtInteractionRoMsg::set ( DtInteractionClassHandle  theInteraction,
const DtPhvps &  theParameters,
char const *  theTag,
unsigned long  channel 
) [virtual]

Set/Get handle.

Implements DtInteractionMsg.

References DtNetInteractionMsg::handle, and netInterRoMsg().

Referenced by DtInteractionRoMsg(), and set().

void DtInteractionRoMsg::setTagSize ( int  size) [protected, virtual]

Set/Get tag size.

Implements DtInteractionMsg.

References netInterRoMsg(), and DtNetInteractionMsg::tagSize.

char * DtInteractionRoMsg::tagPtr ( ) [protected, virtual]

Returns pointer to the tag in the netMsg.

Implements DtInteractionMsg.

References DtInteractionMsg::channelFieldSize(), and channelPtr().

Referenced by netBigParams(), and netParams().

int DtInteractionRoMsg::tagSize ( ) const [protected, virtual]

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)