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