![]() |
MAK RTIspy API Documentation for HLA 1516
|
Inheritance diagram for DtAliveMsg:
Collaboration diagram for DtAliveMsg:Public Member Functions | |
| DtAliveMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| DtAliveMsg (const DtNetAliveMsg *netRep, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| virtual | ~DtAliveMsg () |
| Destructor. | |
| virtual DtRtiMsg * | clone (bool copy=true) const |
| Return a copy/empty object of the same type as this. | |
| 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) |
| static void | addCallback (DtConnectionMgr *conn, DtAliveCb cb, void *usr, bool isMomCallback=false) |
| Callback management. | |
| static void | removeCallback (DtConnectionMgr *conn, DtAliveCb cb, void *usr, bool isMomCallback=false) |
Protected Member Functions | |
| virtual DtNetAliveMsg * | netAliveMsg () |
| The network representation. | |
| virtual const DtNetAliveMsg * | netAliveMsg () const |
| virtual DtRtiMsgKind | internalDtRtiMsgKind () |
| Returns the kind of an Alive Msg. | |
| virtual int | minSize () const |
| Returns minimum size of a message, including header. | |
| virtual DtAliveMsg * | self () const |
| Casts away const-ness. | |
| DtAliveMsg::DtAliveMsg | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) |
Constructor.
References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), and minSize().
| DtAliveMsg::DtAliveMsg | ( | const DtNetAliveMsg * | netRep, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
Constructor.
References DtNetAliveMsg::header, and DtRtiMsg::initDtRtiMsg().
| DtAliveMsg::~DtAliveMsg | ( | ) | [virtual] |
Destructor.
| void DtAliveMsg::addCallback | ( | DtConnectionMgr * | conn, |
| DtAliveCb | cb, | ||
| void * | usr, | ||
| bool | isMomCallback = false |
||
| ) | [static] |
Callback management.
References DtConnectionMgr::addMsgCallback(), and DtAliveMsgKind.
Referenced by DtFedExec::DtFedExec().
| DtRtiMsg * DtAliveMsg::clone | ( | bool | copy = true | ) | const [virtual] |
Return a copy/empty object of the same type as this.
Implements DtRtiMsg.
References DtAliveMsg(), and netAliveMsg().
| DtRtiMsg * DtAliveMsg::create | ( | const DtNetMsgHeader * | initial, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) | [static] |
Creator.
References DtAliveMsg().
| DtRtiMsg * DtAliveMsg::create | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) | [static] |
References DtAliveMsg().
| DtRtiMsgKind DtAliveMsg::internalDtRtiMsgKind | ( | ) | [protected, virtual] |
Returns the kind of an Alive Msg.
Implements DtRtiMsg.
References DtAliveMsgKind.
Referenced by DtAliveMsg().
| int DtAliveMsg::minSize | ( | ) | const [protected, virtual] |
Returns minimum size of a message, including header.
Referenced by DtAliveMsg().
| DtNetAliveMsg * DtAliveMsg::netAliveMsg | ( | ) | [protected, virtual] |
The network representation.
Referenced by clone().
| const DtNetAliveMsg * DtAliveMsg::netAliveMsg | ( | ) | const [protected, virtual] |
| void DtAliveMsg::printData | ( | DtLogicalTimeFactory * | logicalTimeFactory | ) | const [virtual] |
Print the data section.
Reimplemented from DtRtiMsg.
| void DtAliveMsg::removeCallback | ( | DtConnectionMgr * | conn, |
| DtAliveCb | cb, | ||
| void * | usr, | ||
| bool | isMomCallback = false |
||
| ) | [static] |
References DtAliveMsgKind, and DtConnectionMgr::removeMsgCallback().
Referenced by DtFedExec::~DtFedExec().
| DtAliveMsg * DtAliveMsg::self | ( | ) | const [inline, protected, virtual] |
Casts away const-ness.