![]() |
MAK RTIspy API Documentation for HLA Evolved
|
Inheritance diagram for DtDestroyMsg:
Collaboration diagram for DtDestroyMsg:Public Member Functions | |
| DtDestroyMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| DtDestroyMsg (const char *fedExName, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| DtDestroyMsg (const DtNetDestroyMsg *netRepMsg, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| virtual | ~DtDestroyMsg () |
| Destructor. | |
| virtual DtRtiMsg * | clone (bool copy=true) const |
| Return a copy/empty object of the same type as this. | |
| virtual void | set (const char *fedExName) |
| Set all fields simultaneously. | |
| virtual void | setFullFedExName (const MAKRti::DtString &name) |
| Set/Get full name of federation execution. | |
| virtual const MAKRti::DtString | fullFedExName () 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, DtDestroyCb cb, void *usr) |
| Callback management. | |
| static void | removeCallback (DtConnectionMgr *conn, DtDestroyCb cb, void *usr) |
Protected Member Functions | |
| virtual DtNetDestroyMsg * | netDestroyMsg () |
| The network representation. | |
| virtual const DtNetDestroyMsg * | netDestroyMsg () const |
| virtual DtRtiMsgKind | internalDtRtiMsgKind () |
| Returns the kind of an Destroy Msg. | |
| virtual int | minSize () const |
| Returns minimum size of a message, including header. | |
| virtual DtDestroyMsg * | self () const |
| Casts away const-ness. | |
| DtDestroyMsg::DtDestroyMsg | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) |
Constructor.
References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), and minSize().
| DtDestroyMsg::DtDestroyMsg | ( | const char * | fedExName, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), minSize(), and setFullFedExName().
| DtDestroyMsg::DtDestroyMsg | ( | const DtNetDestroyMsg * | netRepMsg, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
Constructor.
References DtNetDestroyMsg::header, and DtRtiMsg::initDtRtiMsg().
| DtDestroyMsg::~DtDestroyMsg | ( | ) | [virtual] |
Destructor.
| void DtDestroyMsg::addCallback | ( | DtConnectionMgr * | conn, |
| DtDestroyCb | cb, | ||
| void * | usr | ||
| ) | [static] |
Callback management.
References DtConnectionMgr::addMsgCallback(), and DtDestroyMsgKind.
Referenced by DtRtiExec::DtRtiExec().
| DtRtiMsg * DtDestroyMsg::clone | ( | bool | copy = true | ) | const [virtual] |
Return a copy/empty object of the same type as this.
Implements DtRtiMsg.
References DtDestroyMsg(), and netDestroyMsg().
| DtRtiMsg * DtDestroyMsg::create | ( | const DtNetMsgHeader * | initial, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) | [static] |
Creator.
References DtDestroyMsg().
| DtRtiMsg * DtDestroyMsg::create | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) | [static] |
Creator.
References DtDestroyMsg().
| const MAKRti::DtString DtDestroyMsg::fullFedExName | ( | ) | const [virtual] |
References netDestroyMsg().
Referenced by printData(), DtRtiExec::processDestroy(), and setFullFedExName().
| DtRtiMsgKind DtDestroyMsg::internalDtRtiMsgKind | ( | ) | [protected, virtual] |
Returns the kind of an Destroy Msg.
Implements DtRtiMsg.
References DtDestroyMsgKind.
Referenced by DtDestroyMsg().
| int DtDestroyMsg::minSize | ( | ) | const [protected, virtual] |
Returns minimum size of a message, including header.
Referenced by DtDestroyMsg().
| DtNetDestroyMsg * DtDestroyMsg::netDestroyMsg | ( | ) | [protected, virtual] |
The network representation.
Referenced by clone(), fullFedExName(), and setFullFedExName().
| const DtNetDestroyMsg * DtDestroyMsg::netDestroyMsg | ( | ) | const [protected, virtual] |
| void DtDestroyMsg::printData | ( | DtLogicalTimeFactory * | logicalTimeFactory | ) | const [virtual] |
| void DtDestroyMsg::removeCallback | ( | DtConnectionMgr * | conn, |
| DtDestroyCb | cb, | ||
| void * | usr | ||
| ) | [static] |
References DtDestroyMsgKind, and DtConnectionMgr::removeMsgCallback().
Referenced by DtRtiExec::~DtRtiExec().
| DtDestroyMsg * DtDestroyMsg::self | ( | ) | const [inline, protected, virtual] |
Casts away const-ness.
| void DtDestroyMsg::set | ( | const char * | fedExName | ) | [virtual] |
Set all fields simultaneously.
References setFullFedExName().
Referenced by DtRtiExecFederateMgr::sendDestroyMsg().
| void DtDestroyMsg::setFullFedExName | ( | const MAKRti::DtString & | name | ) | [virtual] |
Set/Get full name of federation execution.
References DtNetDestroyMsg::fullFedExName, fullFedExName(), and netDestroyMsg().
Referenced by DtDestroyMsg(), and set().