![]() |
MAK RTIspy API Documentation for HLA 1.3
|
Inheritance diagram for DtUpdateRoMsg:
Collaboration diagram for DtUpdateRoMsg: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 DtRtiMsg * | clone (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 DtRtiMsg * | create (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) |
| Creator. | |
| static DtRtiMsg * | create (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 DtNetUpdateMsg * | netUpdateRoMsg () |
| The network representation. | |
| virtual const DtNetUpdateMsg * | netUpdateRoMsg () 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 DtNetAttrs * | netAttrs () |
| Returns pointer to the network rep of the pvList. | |
| virtual DtNetBigAttrs * | netBigAttrs () |
| 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 DtUpdateRoMsg * | selfRo () const |
| Casts away const-ness. | |
| DtUpdateRoMsg::DtUpdateRoMsg | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) |
Constructor.
References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), and minSize().
| 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 |
||
| ) |
| DtUpdateRoMsg::~DtUpdateRoMsg | ( | ) | [virtual] |
Destructor.
| void DtUpdateRoMsg::addCallback | ( | DtConnectionMgr * | conn, |
| DtUpdateCb | cb, | ||
| void * | usr | ||
| ) | [static] |
Callback management.
References DtConnectionMgr::addMsgCallback(), DtUpdateMsg::channelIncluded(), DtDdmUpdateRoMsgKind, DtUpdateRoMsgKind, and DtRtiMsg::msgKind().
Referenced by DtObjectMgr::DtObjectMgr().
| DtNetU32 * DtUpdateRoMsg::channelPtr | ( | ) | const [protected, virtual] |
Returns pointer to the channel in the netMsg.
Implements DtUpdateMsg.
References DtNetUpdateMsg::nameSize, and netUpdateRoMsg().
Referenced by tagPtr().
| DtObjectClassHandle DtUpdateRoMsg::classHandle | ( | ) | const [virtual] |
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] |
| DtRtiMsg * DtUpdateRoMsg::create | ( | const DtNetMsgHeader * | initial, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) | [static] |
References DtUpdateRoMsg().
| DtRtiMsgKind DtUpdateRoMsg::internalDtRtiMsgKind | ( | ) | [protected, virtual] |
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] |
Implements DtUpdateMsg.
References DtNetUpdateMsg::nameSize, and netUpdateRoMsg().
| 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] |
The network representation.
Referenced by channelPtr(), classHandle(), clone(), nameSize(), objHandle(), setClassHandle(), setNameSize(), setObjHandle(), setTagSize(), and tagSize().
| const DtNetUpdateMsg * DtUpdateRoMsg::netUpdateRoMsg | ( | ) | const [protected, virtual] |
| DtObjectInstanceHandle DtUpdateRoMsg::objHandle | ( | ) | const [virtual] |
Implements DtUpdateMsg.
References DtNetUpdateMsg::id, and netUpdateRoMsg().
Referenced by printData().
| void DtUpdateRoMsg::printData | ( | DtLogicalTimeFactory * | logicalTimeFactory | ) | const [virtual] |
Print the data section.
Reimplemented from DtRtiMsg.
References DtUpdateMsg::channel(), DtUpdateMsg::channelIncluded(), classHandle(), DtUpdateMsg::getAttrs(), DtUpdateMsg::numAttrs(), objHandle(), DtUpdateMsg::objName(), DtRtiMsg::orderType(), DtUpdateMsg::tag(), and DtRtiMsg::transportType().
| void DtUpdateRoMsg::removeCallback | ( | DtConnectionMgr * | conn, |
| DtUpdateCb | cb, | ||
| void * | usr | ||
| ) | [static] |
References DtUpdateMsg::channelIncluded(), DtDdmUpdateRoMsgKind, DtUpdateRoMsgKind, DtRtiMsg::msgKind(), and DtConnectionMgr::removeMsgCallback().
Referenced by DtObjectMgr::~DtObjectMgr().
| 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().
| void DtUpdateRoMsg::setClassHandle | ( | DtObjectClassHandle | hand | ) | [virtual] |
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().
| void DtUpdateRoMsg::setObjHandle | ( | DtObjectInstanceHandle | id | ) | [virtual] |
Set/Get handle.
Implements DtUpdateMsg.
References DtNetUpdateMsg::id, and netUpdateRoMsg().
Referenced by DtUpdateRoMsg().
| void DtUpdateRoMsg::setTagSize | ( | int | size | ) | [protected, virtual] |
| 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().