![]() |
MAK RTIspy API Documentation for HLA Evolved
|
Inheritance diagram for DtSubInterMsg:
Collaboration diagram for DtSubInterMsg:Public Member Functions | |
| DtSubInterMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| DtSubInterMsg (DtInteractionClassHandle theInter, bool isPassive, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| DtSubInterMsg (const DtNetSubInterMsg *netRepMsg, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| virtual | ~DtSubInterMsg () |
| 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 isPassive) |
| Set all fields simultaneously. | |
| virtual void | setHandle (DtInteractionClassHandle hand) |
| Set/Get handle. | |
| virtual DtInteractionClassHandle | handle () const |
| virtual void | setPassive (bool isPassive) |
| Set/Get isPassive (is this a passive (or active) subscription) | |
| virtual bool | isPassive () 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, DtSubInterCb cb, void *usr) |
| Callback management. | |
| static void | removeCallback (DtConnectionMgr *conn, DtSubInterCb cb, void *usr) |
Protected Member Functions | |
| virtual DtNetSubInterMsg * | netSubInterMsg () |
| The network representation. | |
| virtual const DtNetSubInterMsg * | netSubInterMsg () const |
| virtual DtRtiMsgKind | internalDtRtiMsgKind () |
| Returns the kind of an SubInter Msg. | |
| virtual int | minSize () const |
| Returns minimum size of a message, including header. | |
| virtual DtSubInterMsg * | self () const |
| Casts away const-ness. | |
| DtSubInterMsg::DtSubInterMsg | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) |
Constructor.
References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), and minSize().
| DtSubInterMsg::DtSubInterMsg | ( | DtInteractionClassHandle | theInter, |
| bool | isPassive, | ||
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), minSize(), setHandle(), and setPassive().
| DtSubInterMsg::DtSubInterMsg | ( | const DtNetSubInterMsg * | netRepMsg, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
Constructor.
References DtNetSubInterMsg::header, and DtRtiMsg::initDtRtiMsg().
| DtSubInterMsg::~DtSubInterMsg | ( | ) | [virtual] |
Destructor.
| void DtSubInterMsg::addCallback | ( | DtConnectionMgr * | conn, |
| DtSubInterCb | cb, | ||
| void * | usr | ||
| ) | [static] |
Callback management.
References DtConnectionMgr::addMsgCallback(), and DtSubInterMsgKind.
Referenced by DtInteractionMgr::DtInteractionMgr(), and DtTestManager::postJoinInit().
| DtRtiMsg * DtSubInterMsg::clone | ( | bool | copy = true | ) | const [virtual] |
Return a copy/empty object of the same type as this.
Implements DtRtiMsg.
References DtSubInterMsg(), and netSubInterMsg().
| DtRtiMsg * DtSubInterMsg::create | ( | const DtNetMsgHeader * | initial, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) | [static] |
Creator.
References DtSubInterMsg().
| DtRtiMsg * DtSubInterMsg::create | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) | [static] |
Creator.
References DtSubInterMsg().
| DtInteractionClassHandle DtSubInterMsg::handle | ( | ) | const [virtual] |
References DtNetSubInterMsg::handle, and netSubInterMsg().
Referenced by printData(), DtTestManager::processSub(), and DtInteractionMgr::processSub().
| DtRtiMsgKind DtSubInterMsg::internalDtRtiMsgKind | ( | ) | [protected, virtual] |
Returns the kind of an SubInter Msg.
Implements DtRtiMsg.
References DtSubInterMsgKind.
Referenced by DtSubInterMsg().
| bool DtSubInterMsg::isPassive | ( | ) | const [virtual] |
References DtNetSubInterMsg::isPassive, and netSubInterMsg().
Referenced by DtInteractionMgr::processSub(), and setPassive().
| int DtSubInterMsg::minSize | ( | ) | const [protected, virtual] |
Returns minimum size of a message, including header.
Referenced by DtSubInterMsg().
| DtNetSubInterMsg * DtSubInterMsg::netSubInterMsg | ( | ) | [protected, virtual] |
The network representation.
Referenced by clone(), handle(), isPassive(), setHandle(), and setPassive().
| const DtNetSubInterMsg * DtSubInterMsg::netSubInterMsg | ( | ) | const [protected, virtual] |
| void DtSubInterMsg::printData | ( | DtLogicalTimeFactory * | logicalTimeFactory | ) | const [virtual] |
| void DtSubInterMsg::removeCallback | ( | DtConnectionMgr * | conn, |
| DtSubInterCb | cb, | ||
| void * | usr | ||
| ) | [static] |
References DtSubInterMsgKind, and DtConnectionMgr::removeMsgCallback().
Referenced by DtTestManager::resign(), DtInteractionMgr::~DtInteractionMgr(), and DtTestManager::~DtTestManager().
| DtSubInterMsg * DtSubInterMsg::self | ( | ) | const [inline, protected, virtual] |
Casts away const-ness.
| void DtSubInterMsg::set | ( | DtInteractionClassHandle | theInter, |
| bool | isPassive | ||
| ) | [virtual] |
Set all fields simultaneously.
References setHandle(), and setPassive().
Referenced by DtInteractionMgr::sendSubscribeMsg().
| void DtSubInterMsg::setHandle | ( | DtInteractionClassHandle | hand | ) | [virtual] |
Set/Get handle.
References DtNetSubInterMsg::handle, and netSubInterMsg().
Referenced by DtSubInterMsg(), and set().
| void DtSubInterMsg::setPassive | ( | bool | isPassive | ) | [virtual] |
Set/Get isPassive (is this a passive (or active) subscription)
References DtNetSubInterMsg::isPassive, isPassive(), and netSubInterMsg().
Referenced by DtSubInterMsg(), and set().