MAK RTIspy API Documentation for HLA 1516
Public Member Functions | Static Public Member Functions | Protected Member Functions
DtUpdateRoMsg Class Reference
+ Inheritance diagram for DtUpdateRoMsg:
+ Collaboration diagram for DtUpdateRoMsg:

List of all members.

Public Member Functions

 DtUpdateRoMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructor.
 DtUpdateRoMsg (DtObjectInstanceHandle objHand, const char *objName, DtObjectClassHandle classHand, const DtAhvps &theAttributes, char const *theTag, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 DtUpdateRoMsg (const DtNetUpdateMsg *netRepMsg, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
virtual ~DtUpdateRoMsg ()
 Destructor.
virtual DtRtiMsgclone (bool copy=true) const
 Return a copy/empty object of the same type as this.
virtual void set (DtObjectInstanceHandle objHand, const char *objName, DtObjectClassHandle theClass, const DtAhvps &theAttributes, char const *theTag)
 Set all fields simultaneously.
virtual void setClassHandle (DtObjectClassHandle hand)
 Set/Get handle.
virtual DtObjectClassHandle classHandle () const
virtual void setObjHandle (DtObjectInstanceHandle id)
 Set/Get handle.
virtual DtObjectInstanceHandle objHandle () const
virtual void printData (DtLogicalTimeFactory *logicalTimeFactory) const
 Print the data section.

Static Public Member Functions

static DtRtiMsgcreate (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Creator.
static DtRtiMsgcreate (const DtNetMsgHeader *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
static void addCallback (DtConnectionMgr *conn, DtUpdateCb cb, void *usr)
 Callback management.
static void removeCallback (DtConnectionMgr *conn, DtUpdateCb cb, void *usr)

Protected Member Functions

virtual DtNetUpdateMsgnetUpdateRoMsg ()
 The network representation.
virtual const DtNetUpdateMsgnetUpdateRoMsg () const
virtual DtRtiMsgKind internalDtRtiMsgKind ()
 Returns the kind of an Update Msg.
virtual int minSize (const DtAhvps *attrs=NULL, const char *objName=NULL, char const *theTag=theDefaultTag) const
 Returns minimum size of a message, including header.
virtual void setNameSize (int size)
 Set/Get name size.
virtual int nameSize () const
virtual void setTagSize (int size)
 Set/Get tag size.
virtual int tagSize () const
virtual DtNetAttrsnetAttrs ()
 Returns pointer to the network rep of the pvList.
virtual DtNetBigAttrsnetBigAttrs ()
 Supports big attribute values > 64K.
virtual DtNetU32 * channelPtr () const
 Returns pointer to the channel in the netMsg.
virtual char * namePtr ()
 Returns pointer to the name in the netMsg.
virtual char * tagPtr ()
 Returns pointer to the tag in the netMsg.
virtual DtUpdateRoMsgselfRo () const
 Casts away const-ness.

Constructor & Destructor Documentation

DtUpdateRoMsg::DtUpdateRoMsg ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER)

Constructor.

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

Referenced by clone(), and create().

DtUpdateRoMsg::DtUpdateRoMsg ( DtObjectInstanceHandle  objHand,
const char *  objName,
DtObjectClassHandle  classHand,
const DtAhvps &  theAttributes,
char const *  theTag,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)
DtUpdateRoMsg::DtUpdateRoMsg ( const DtNetUpdateMsg netRepMsg,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)

Destructor.


Member Function Documentation

void DtUpdateRoMsg::addCallback ( DtConnectionMgr conn,
DtUpdateCb  cb,
void *  usr 
) [static]
DtNetU32 * DtUpdateRoMsg::channelPtr ( ) const [protected, virtual]

Returns pointer to the channel in the netMsg.

Implements DtUpdateMsg.

References DtNetUpdateMsg::nameSize, and netUpdateRoMsg().

Referenced by tagPtr().

Implements DtUpdateMsg.

References DtNetUpdateMsg::handle, and netUpdateRoMsg().

Referenced by printData().

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

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

Implements DtRtiMsg.

References DtUpdateRoMsg(), and netUpdateRoMsg().

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

Creator.

References DtUpdateRoMsg().

Referenced by DtDfltMsgFactory::DtDfltMsgFactory().

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

References DtUpdateRoMsg().

Returns the kind of an Update Msg.

Implements DtRtiMsg.

References DtUpdateMsg::channelIncluded(), DtDdmUpdateRoMsgKind, and DtUpdateRoMsgKind.

Referenced by DtUpdateRoMsg().

int DtUpdateRoMsg::minSize ( const DtAhvps *  attrs = NULL,
const char *  objName = NULL,
char const *  theTag = theDefaultTag 
) const [protected, virtual]

Returns minimum size of a message, including header.

Referenced by DtUpdateRoMsg().

char * DtUpdateRoMsg::namePtr ( ) [protected, virtual]

Returns pointer to the name in the netMsg.

Implements DtUpdateMsg.

References DtUpdateMsg::tagFieldSize(), tagPtr(), and tagSize().

Referenced by netAttrs(), and netBigAttrs().

int DtUpdateRoMsg::nameSize ( ) const [protected, virtual]
DtNetAttrs * DtUpdateRoMsg::netAttrs ( ) [protected, virtual]

Returns pointer to the network rep of the pvList.

Implements DtUpdateMsg.

References DtUpdateMsg::nameFieldSize(), and namePtr().

DtNetBigAttrs * DtUpdateRoMsg::netBigAttrs ( ) [protected, virtual]

Supports big attribute values > 64K.

Implements DtUpdateMsg.

References DtUpdateMsg::nameFieldSize(), and namePtr().

DtNetUpdateMsg * DtUpdateRoMsg::netUpdateRoMsg ( ) [protected, virtual]
const DtNetUpdateMsg * DtUpdateRoMsg::netUpdateRoMsg ( ) const [protected, virtual]

Implements DtUpdateMsg.

References DtNetUpdateMsg::id, and netUpdateRoMsg().

Referenced by printData().

void DtUpdateRoMsg::printData ( DtLogicalTimeFactory logicalTimeFactory) const [virtual]
void DtUpdateRoMsg::removeCallback ( DtConnectionMgr conn,
DtUpdateCb  cb,
void *  usr 
) [static]
DtUpdateRoMsg * DtUpdateRoMsg::selfRo ( ) const [inline, protected, virtual]

Casts away const-ness.

void DtUpdateRoMsg::set ( DtObjectInstanceHandle  objHand,
const char *  objName,
DtObjectClassHandle  theClass,
const DtAhvps &  theAttributes,
char const *  theTag 
) [virtual]

Set all fields simultaneously.

Referenced by DtObjectMgr::sendBestEffortUpdateMsg(), and DtObjectMgr::sendReliableUpdateMsg().

Set/Get handle.

Implements DtUpdateMsg.

References DtNetUpdateMsg::handle, and netUpdateRoMsg().

Referenced by DtUpdateRoMsg().

void DtUpdateRoMsg::setNameSize ( int  size) [protected, virtual]

Set/Get name size.

Implements DtUpdateMsg.

References DtNetUpdateMsg::nameSize, and netUpdateRoMsg().

Set/Get handle.

Implements DtUpdateMsg.

References DtNetUpdateMsg::id, and netUpdateRoMsg().

Referenced by DtUpdateRoMsg().

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

Set/Get tag size.

Implements DtUpdateMsg.

References netUpdateRoMsg(), and DtNetUpdateMsg::tagSize.

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

Returns pointer to the tag in the netMsg.

Implements DtUpdateMsg.

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

Referenced by namePtr().

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

Implements DtUpdateMsg.

References netUpdateRoMsg(), and DtNetUpdateMsg::tagSize.

Referenced by namePtr().


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)