![]() |
MAK RTIspy API Documentation for HLA 1516
|
Inheritance diagram for DtPubObjMsg:
Collaboration diagram for DtPubObjMsg:Public Member Functions | |
| DtPubObjMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| DtPubObjMsg (DtObjectClassHandle theObj, const DtAttributeHandleSet &theSet, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| DtPubObjMsg (const DtNetPubObjMsg *netRepMsg, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| virtual | ~DtPubObjMsg () |
| Destructor. | |
| virtual DtRtiMsg * | clone (bool copy=true) const |
| Return a copy/empty object of the same type as this. | |
| virtual void | set (DtObjectClassHandle theObj, const DtAttributeHandleSet &theSet) |
| Set all fields simultaneously. | |
| virtual void | setObjectClassHandle (DtObjectClassHandle hand) |
| Set/Get handle. | |
| virtual DtObjectClassHandle | objectClassHandle () const |
| virtual void | setAttrHandles (const DtAttributeHandleSet &attrs) |
| Set/Get attribute handles. | |
| virtual const DtAttributeHandleSet & | attrHandles () const |
| virtual void | printData (DtLogicalTimeFactory *logicalTimeFactory) const |
| Print the data section. | |
Static Public Member Functions | |
| static DtRtiMsg * | create (const DtNetMsgHeader *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) |
| Creator. | |
| static DtRtiMsg * | create (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) |
| Creator. | |
| static void | addCallback (DtConnectionMgr *conn, DtPubObjCb cb, void *usr) |
| Callback management. | |
| static void | removeCallback (DtConnectionMgr *conn, DtPubObjCb cb, void *usr) |
Protected Member Functions | |
| virtual DtNetPubObjMsg * | netPubObjMsg () |
| The network representation. | |
| virtual const DtNetPubObjMsg * | netPubObjMsg () const |
| virtual DtRtiMsgKind | internalDtRtiMsgKind () |
| Returns the kind of an PubObj Msg. | |
| virtual int | minSize () const |
| Returns minimum size of a message, including header. | |
| virtual DtPubObjMsg * | self () const |
| Casts away const-ness. | |
Protected Attributes | |
| int | myDirty |
| DtAttributeHandleSet * | myAttrs |
| DtPubObjMsg::DtPubObjMsg | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) |
Constructor.
References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), and minSize().
| DtPubObjMsg::DtPubObjMsg | ( | DtObjectClassHandle | theObj, |
| const DtAttributeHandleSet & | theSet, | ||
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), minSize(), setAttrHandles(), and setObjectClassHandle().
| DtPubObjMsg::DtPubObjMsg | ( | const DtNetPubObjMsg * | netRepMsg, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
Constructor.
References DtNetPubObjMsg::header, and DtRtiMsg::initDtRtiMsg().
| DtPubObjMsg::~DtPubObjMsg | ( | ) | [virtual] |
Destructor.
References myAttrs.
| void DtPubObjMsg::addCallback | ( | DtConnectionMgr * | conn, |
| DtPubObjCb | cb, | ||
| void * | usr | ||
| ) | [static] |
Callback management.
References DtConnectionMgr::addMsgCallback(), and DtPubObjMsgKind.
Referenced by DtObjectMgr::DtObjectMgr().
| const DtAttributeHandleSet & DtPubObjMsg::attrHandles | ( | ) | const [virtual] |
References DtAttributeHandleSet::decode(), DtNetPubObjMsg::handleSet, myAttrs, myDirty, and netPubObjMsg().
Referenced by printData(), and DtObjectMgr::processPub().
| DtRtiMsg * DtPubObjMsg::clone | ( | bool | copy = true | ) | const [virtual] |
Return a copy/empty object of the same type as this.
Implements DtRtiMsg.
References DtPubObjMsg(), and netPubObjMsg().
| DtRtiMsg * DtPubObjMsg::create | ( | const DtNetMsgHeader * | initial, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) | [static] |
Creator.
References DtPubObjMsg().
| DtRtiMsg * DtPubObjMsg::create | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) | [static] |
Creator.
References DtPubObjMsg().
| DtRtiMsgKind DtPubObjMsg::internalDtRtiMsgKind | ( | ) | [protected, virtual] |
Returns the kind of an PubObj Msg.
Implements DtRtiMsg.
References DtPubObjMsgKind.
Referenced by DtPubObjMsg().
| int DtPubObjMsg::minSize | ( | ) | const [protected, virtual] |
Returns minimum size of a message, including header.
Referenced by DtPubObjMsg().
| DtNetPubObjMsg * DtPubObjMsg::netPubObjMsg | ( | ) | [protected, virtual] |
The network representation.
Referenced by attrHandles(), clone(), objectClassHandle(), setAttrHandles(), and setObjectClassHandle().
| const DtNetPubObjMsg * DtPubObjMsg::netPubObjMsg | ( | ) | const [protected, virtual] |
| DtObjectClassHandle DtPubObjMsg::objectClassHandle | ( | ) | const [virtual] |
References DtNetPubObjMsg::handle, and netPubObjMsg().
Referenced by printData(), and DtObjectMgr::processPub().
| void DtPubObjMsg::printData | ( | DtLogicalTimeFactory * | logicalTimeFactory | ) | const [virtual] |
Print the data section.
Reimplemented from DtRtiMsg.
References attrHandles(), objectClassHandle(), and DtRtiMsg::print().
| void DtPubObjMsg::removeCallback | ( | DtConnectionMgr * | conn, |
| DtPubObjCb | cb, | ||
| void * | usr | ||
| ) | [static] |
References DtPubObjMsgKind, and DtConnectionMgr::removeMsgCallback().
Referenced by DtObjectMgr::~DtObjectMgr().
| DtPubObjMsg * DtPubObjMsg::self | ( | ) | const [inline, protected, virtual] |
Casts away const-ness.
| void DtPubObjMsg::set | ( | DtObjectClassHandle | theObj, |
| const DtAttributeHandleSet & | theSet | ||
| ) | [virtual] |
Set all fields simultaneously.
References setAttrHandles(), and setObjectClassHandle().
Referenced by DtObjectMgr::sendPublishMsg().
| void DtPubObjMsg::setAttrHandles | ( | const DtAttributeHandleSet & | attrs | ) | [virtual] |
Set/Get attribute handles.
References myDirty, and netPubObjMsg().
Referenced by DtPubObjMsg(), and set().
| void DtPubObjMsg::setObjectClassHandle | ( | DtObjectClassHandle | hand | ) | [virtual] |
Set/Get handle.
References DtNetPubObjMsg::handle, and netPubObjMsg().
Referenced by DtPubObjMsg(), and set().
DtAttributeHandleSet* DtPubObjMsg::myAttrs [protected] |
Referenced by attrHandles(), and ~DtPubObjMsg().
int DtPubObjMsg::myDirty [protected] |
Referenced by attrHandles(), and setAttrHandles().