![]() |
MAK RTIspy API Documentation for HLA 1516
|
Inheritance diagram for DtUnsubInterMsg:
Collaboration diagram for DtUnsubInterMsg:Public Member Functions | |
| DtUnsubInterMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| DtUnsubInterMsg (DtInteractionClassHandle theInter, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| DtUnsubInterMsg (const DtNetUnsubInterMsg *netRepMsg, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| virtual | ~DtUnsubInterMsg () |
| Destructor. | |
| virtual DtRtiMsg * | clone (bool copy=true) const |
| Return a copy/empty object of the same type as this. | |
| virtual void | set (DtInteractionClassHandle theInter, bool forSmartForwarding) |
| Set all fields simultaneously. | |
| virtual void | setHandle (DtInteractionClassHandle hand) |
| Set/Get handle. | |
| virtual DtInteractionClassHandle | handle () const |
| virtual void | setForSmartForwarding (bool value) |
| Set/Get whether this is an unsubscribe message for smart forwarding filtering. | |
| virtual bool | isForSmartForwarding () 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, DtUnsubInterCb cb, void *usr) |
| Callback management. | |
| static void | removeCallback (DtConnectionMgr *conn, DtUnsubInterCb cb, void *usr) |
Protected Member Functions | |
| virtual DtNetUnsubInterMsg * | netUnsubInterMsg () |
| The network representation. | |
| virtual const DtNetUnsubInterMsg * | netUnsubInterMsg () const |
| virtual DtRtiMsgKind | internalDtRtiMsgKind () |
| Returns the kind of an UnsubInter Msg. | |
| virtual int | minSize () const |
| Returns minimum size of a message, including header. | |
| virtual DtUnsubInterMsg * | self () const |
| Casts away const-ness. | |
| DtUnsubInterMsg::DtUnsubInterMsg | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) |
Constructor.
References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), and minSize().
| DtUnsubInterMsg::DtUnsubInterMsg | ( | DtInteractionClassHandle | theInter, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), minSize(), and setHandle().
| DtUnsubInterMsg::DtUnsubInterMsg | ( | const DtNetUnsubInterMsg * | netRepMsg, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
Constructor.
References DtNetSubInterMsg::header, and DtRtiMsg::initDtRtiMsg().
| DtUnsubInterMsg::~DtUnsubInterMsg | ( | ) | [virtual] |
Destructor.
| void DtUnsubInterMsg::addCallback | ( | DtConnectionMgr * | conn, |
| DtUnsubInterCb | cb, | ||
| void * | usr | ||
| ) | [static] |
Callback management.
References DtConnectionMgr::addMsgCallback(), and DtUnsubInterMsgKind.
Referenced by DtInteractionMgr::DtInteractionMgr(), and DtTestManager::postJoinInit().
| DtRtiMsg * DtUnsubInterMsg::clone | ( | bool | copy = true | ) | const [virtual] |
Return a copy/empty object of the same type as this.
Implements DtRtiMsg.
References DtUnsubInterMsg(), and netUnsubInterMsg().
| DtRtiMsg * DtUnsubInterMsg::create | ( | const DtNetMsgHeader * | initial, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) | [static] |
Creator.
References DtUnsubInterMsg().
| DtRtiMsg * DtUnsubInterMsg::create | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) | [static] |
Creator.
References DtUnsubInterMsg().
| DtInteractionClassHandle DtUnsubInterMsg::handle | ( | ) | const [virtual] |
References DtNetSubInterMsg::handle, and netUnsubInterMsg().
Referenced by printData(), DtTestManager::processUnsub(), and DtInteractionMgr::processUnsub().
| DtRtiMsgKind DtUnsubInterMsg::internalDtRtiMsgKind | ( | ) | [protected, virtual] |
Returns the kind of an UnsubInter Msg.
Implements DtRtiMsg.
References DtUnsubInterMsgKind.
Referenced by DtUnsubInterMsg().
| bool DtUnsubInterMsg::isForSmartForwarding | ( | ) | const [virtual] |
References DtNetSubInterMsg::isForSmartForwarding, and netUnsubInterMsg().
Referenced by DtInteractionMgr::processUnsub().
| int DtUnsubInterMsg::minSize | ( | ) | const [protected, virtual] |
Returns minimum size of a message, including header.
Referenced by DtUnsubInterMsg().
| DtNetUnsubInterMsg * DtUnsubInterMsg::netUnsubInterMsg | ( | ) | [protected, virtual] |
The network representation.
Referenced by clone(), handle(), isForSmartForwarding(), setForSmartForwarding(), and setHandle().
| const DtNetUnsubInterMsg * DtUnsubInterMsg::netUnsubInterMsg | ( | ) | const [protected, virtual] |
| void DtUnsubInterMsg::printData | ( | DtLogicalTimeFactory * | logicalTimeFactory | ) | const [virtual] |
| void DtUnsubInterMsg::removeCallback | ( | DtConnectionMgr * | conn, |
| DtUnsubInterCb | cb, | ||
| void * | usr | ||
| ) | [static] |
References DtUnsubInterMsgKind, and DtConnectionMgr::removeMsgCallback().
Referenced by DtTestManager::resign(), DtInteractionMgr::~DtInteractionMgr(), and DtTestManager::~DtTestManager().
| DtUnsubInterMsg * DtUnsubInterMsg::self | ( | ) | const [inline, protected, virtual] |
Casts away const-ness.
| void DtUnsubInterMsg::set | ( | DtInteractionClassHandle | theInter, |
| bool | forSmartForwarding | ||
| ) | [virtual] |
Set all fields simultaneously.
References setForSmartForwarding(), and setHandle().
Referenced by DtInteractionMgr::sendUnsubscribeMsg().
| void DtUnsubInterMsg::setForSmartForwarding | ( | bool | value | ) | [virtual] |
Set/Get whether this is an unsubscribe message for smart forwarding filtering.
References DtNetSubInterMsg::isForSmartForwarding, and netUnsubInterMsg().
Referenced by set().
| void DtUnsubInterMsg::setHandle | ( | DtInteractionClassHandle | hand | ) | [virtual] |
Set/Get handle.
References DtNetSubInterMsg::handle, and netUnsubInterMsg().
Referenced by DtUnsubInterMsg(), and set().