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