![]() |
MAK RTIspy API Documentation for HLA 1516
|
Inheritance diagram for DtRestoreInitiateMsg:
Collaboration diagram for DtRestoreInitiateMsg:Public Member Functions | |
| DtRestoreInitiateMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| DtRestoreInitiateMsg (const DtNetRestoreInitiateMsg *netRep, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| DtRestoreInitiateMsg (DtFederateHandle oldHandleVal, DtFederateHandle newHandleVal, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| virtual | ~DtRestoreInitiateMsg () |
| Destructor. | |
| virtual void | set (DtFederateHandle oldHandleVal, DtFederateHandle newHandleVal) |
| Set all fields. | |
| virtual void | setOldHandle (DtFederateHandle handle) |
| Set/Get old fed handle. | |
| virtual DtFederateHandle | oldHandle () const |
| virtual void | setNewHandle (DtFederateHandle handle) |
| Set/Get new fed handle. | |
| virtual DtFederateHandle | newHandle () const |
| 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, DtRestoreInitiateCb cb, void *usr) |
| Callback management. | |
| static void | removeCallback (DtConnectionMgr *conn, DtRestoreInitiateCb cb, void *usr) |
Protected Member Functions | |
| virtual DtNetRestoreInitiateMsg * | netRestoreInitiateMsg () |
| The network representation. | |
| virtual const DtNetRestoreInitiateMsg * | netRestoreInitiateMsg () const |
| virtual DtRtiMsgKind | internalDtRtiMsgKind () |
| Returns the kind of an RestoreInitiate Msg. | |
| virtual int | minSize () const |
| Returns minimum size of a message, including header. | |
| virtual DtRestoreInitiateMsg * | self () const |
| Casts away const-ness. | |
| DtRestoreInitiateMsg::DtRestoreInitiateMsg | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) |
Constructor.
References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), minSize(), and DtRtiMsg::myAllowedDuringSave.
| DtRestoreInitiateMsg::DtRestoreInitiateMsg | ( | const DtNetRestoreInitiateMsg * | netRep, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
Constructor.
References DtNetRestoreInitiateMsg::header, DtRtiMsg::initDtRtiMsg(), and DtRtiMsg::myAllowedDuringSave.
| DtRestoreInitiateMsg::DtRestoreInitiateMsg | ( | DtFederateHandle | oldHandleVal, |
| DtFederateHandle | newHandleVal, | ||
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
Constructor.
References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), minSize(), and DtRtiMsg::myAllowedDuringSave.
| DtRestoreInitiateMsg::~DtRestoreInitiateMsg | ( | ) | [virtual] |
Destructor.
| void DtRestoreInitiateMsg::addCallback | ( | DtConnectionMgr * | conn, |
| DtRestoreInitiateCb | cb, | ||
| void * | usr | ||
| ) | [static] |
Callback management.
References DtConnectionMgr::addMsgCallback(), and DtRestoreInitiateMsgKind.
Referenced by DtFederateMgr::postJoinInit().
| DtRtiMsg * DtRestoreInitiateMsg::clone | ( | bool | copy = true | ) | const [virtual] |
Return a copy/empty object of the same type as this.
Implements DtRtiMsg.
References DtRestoreInitiateMsg(), and netRestoreInitiateMsg().
| DtRtiMsg * DtRestoreInitiateMsg::create | ( | const DtNetMsgHeader * | initial, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) | [static] |
Creator.
References DtRestoreInitiateMsg().
| DtRtiMsg * DtRestoreInitiateMsg::create | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) | [static] |
References DtRestoreInitiateMsg().
| DtRtiMsgKind DtRestoreInitiateMsg::internalDtRtiMsgKind | ( | ) | [protected, virtual] |
Returns the kind of an RestoreInitiate Msg.
Implements DtRtiMsg.
References DtRestoreInitiateMsgKind.
Referenced by DtRestoreInitiateMsg().
| int DtRestoreInitiateMsg::minSize | ( | ) | const [protected, virtual] |
Returns minimum size of a message, including header.
Referenced by DtRestoreInitiateMsg().
| DtNetRestoreInitiateMsg * DtRestoreInitiateMsg::netRestoreInitiateMsg | ( | ) | [protected, virtual] |
The network representation.
Referenced by clone(), newHandle(), oldHandle(), set(), setNewHandle(), and setOldHandle().
| const DtNetRestoreInitiateMsg * DtRestoreInitiateMsg::netRestoreInitiateMsg | ( | ) | const [protected, virtual] |
| DtFederateHandle DtRestoreInitiateMsg::newHandle | ( | ) | const [virtual] |
References netRestoreInitiateMsg(), and DtNetRestoreInitiateMsg::newFedHandle.
Referenced by printData(), and DtRtiExecFederateMgr::processRestoreInitiate().
| DtFederateHandle DtRestoreInitiateMsg::oldHandle | ( | ) | const [virtual] |
References netRestoreInitiateMsg(), and DtNetRestoreInitiateMsg::oldFedHandle.
Referenced by printData(), and DtRtiExecFederateMgr::processRestoreInitiate().
| void DtRestoreInitiateMsg::printData | ( | DtLogicalTimeFactory * | logicalTimeFactory | ) | const [virtual] |
| void DtRestoreInitiateMsg::removeCallback | ( | DtConnectionMgr * | conn, |
| DtRestoreInitiateCb | cb, | ||
| void * | usr | ||
| ) | [static] |
References DtRestoreInitiateMsgKind, and DtConnectionMgr::removeMsgCallback().
Referenced by DtFederateMgr::resignFederationExecution(), and DtFederateMgr::~DtFederateMgr().
| DtRestoreInitiateMsg * DtRestoreInitiateMsg::self | ( | ) | const [inline, protected, virtual] |
Casts away const-ness.
| void DtRestoreInitiateMsg::set | ( | DtFederateHandle | oldHandleVal, |
| DtFederateHandle | newHandleVal | ||
| ) | [virtual] |
Set all fields.
References netRestoreInitiateMsg(), DtNetRestoreInitiateMsg::newFedHandle, and DtNetRestoreInitiateMsg::oldFedHandle.
| void DtRestoreInitiateMsg::setNewHandle | ( | DtFederateHandle | handle | ) | [virtual] |
Set/Get new fed handle.
References netRestoreInitiateMsg(), and DtNetRestoreInitiateMsg::newFedHandle.
| void DtRestoreInitiateMsg::setOldHandle | ( | DtFederateHandle | handle | ) | [virtual] |
Set/Get old fed handle.
References netRestoreInitiateMsg(), and DtNetRestoreInitiateMsg::oldFedHandle.