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