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