![]() |
MAK RTIspy API Documentation for HLA 1516
|
Inheritance diagram for DtResignDirectiveMsg:
Collaboration diagram for DtResignDirectiveMsg:Public Member Functions | |
| DtResignDirectiveMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| DtResignDirectiveMsg (DtFederateHandle sendingFederate, DtResignAction resignDirective, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| DtResignDirectiveMsg (const DtNetResignDirectiveMsg *netRepMsg, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| virtual | ~DtResignDirectiveMsg () |
| Destructor. | |
| virtual DtRtiMsg * | clone (bool copy=true) const |
| Return a copy/empty object of the same type as this. | |
| virtual void | set (DtFederateHandle sendingFederate, DtResignAction resignDirective) |
| Set all fields simultaneously. | |
| virtual void | setSendingFederate (DtFederateHandle handle) |
| Set/Get recipient federate handle. | |
| virtual DtFederateHandle | sendingFederate () const |
| virtual void | setResignDirective (DtResignAction directive) |
| Set/Get attribute handles. | |
| virtual DtResignAction | resignDirective () 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, DtResignDirectiveCb cb, void *usr) |
| Callback management. | |
| static void | removeCallback (DtConnectionMgr *conn, DtResignDirectiveCb cb, void *usr) |
Protected Member Functions | |
| virtual DtNetResignDirectiveMsg * | netResignDirectiveMsg () |
| The network representation. | |
| virtual const DtNetResignDirectiveMsg * | netResignDirectiveMsg () const |
| virtual DtRtiMsgKind | internalDtRtiMsgKind () |
| Returns the kind of an Ownership Msg. | |
| virtual int | minSize () const |
| Returns minimum size of a message, including header. | |
| virtual DtResignDirectiveMsg * | self () const |
| Casts away const-ness. | |
| DtResignDirectiveMsg::DtResignDirectiveMsg | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) |
Constructor.
References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), and minSize().
| DtResignDirectiveMsg::DtResignDirectiveMsg | ( | DtFederateHandle | sendingFederate, |
| DtResignAction | resignDirective, | ||
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
Constructor.
References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), minSize(), setResignDirective(), and setSendingFederate().
| DtResignDirectiveMsg::DtResignDirectiveMsg | ( | const DtNetResignDirectiveMsg * | netRepMsg, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
Constructor.
References DtNetResignDirectiveMsg::header, and DtRtiMsg::initDtRtiMsg().
| DtResignDirectiveMsg::~DtResignDirectiveMsg | ( | ) | [virtual] |
Destructor.
| void DtResignDirectiveMsg::addCallback | ( | DtConnectionMgr * | conn, |
| DtResignDirectiveCb | cb, | ||
| void * | usr | ||
| ) | [static] |
Callback management.
References DtConnectionMgr::addMsgCallback(), and DtResignDirectiveMsgKind.
Referenced by DtFederateMgr::postJoinInit().
| DtRtiMsg * DtResignDirectiveMsg::clone | ( | bool | copy = true | ) | const [virtual] |
Return a copy/empty object of the same type as this.
Implements DtRtiMsg.
References DtResignDirectiveMsg(), and netResignDirectiveMsg().
| DtRtiMsg * DtResignDirectiveMsg::create | ( | const DtNetMsgHeader * | initial, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) | [static] |
Creator.
References DtResignDirectiveMsg().
| DtRtiMsg * DtResignDirectiveMsg::create | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) | [static] |
Creator.
References DtResignDirectiveMsg().
| DtRtiMsgKind DtResignDirectiveMsg::internalDtRtiMsgKind | ( | ) | [protected, virtual] |
Returns the kind of an Ownership Msg.
Implements DtRtiMsg.
References DtResignDirectiveMsgKind.
Referenced by DtResignDirectiveMsg().
| int DtResignDirectiveMsg::minSize | ( | ) | const [protected, virtual] |
Returns minimum size of a message, including header.
Referenced by DtResignDirectiveMsg().
| DtNetResignDirectiveMsg * DtResignDirectiveMsg::netResignDirectiveMsg | ( | ) | [protected, virtual] |
The network representation.
Referenced by clone(), resignDirective(), sendingFederate(), setResignDirective(), and setSendingFederate().
| const DtNetResignDirectiveMsg * DtResignDirectiveMsg::netResignDirectiveMsg | ( | ) | const [protected, virtual] |
| void DtResignDirectiveMsg::printData | ( | DtLogicalTimeFactory * | logicalTimeFactory | ) | const [virtual] |
Print the data section.
Reimplemented from DtRtiMsg.
References resignDirective(), and sendingFederate().
| void DtResignDirectiveMsg::removeCallback | ( | DtConnectionMgr * | conn, |
| DtResignDirectiveCb | cb, | ||
| void * | usr | ||
| ) | [static] |
References DtResignDirectiveMsgKind, and DtConnectionMgr::removeMsgCallback().
Referenced by DtFederateMgr::~DtFederateMgr().
| DtResignAction DtResignDirectiveMsg::resignDirective | ( | ) | const [virtual] |
References netResignDirectiveMsg().
Referenced by printData().
| DtResignDirectiveMsg * DtResignDirectiveMsg::self | ( | ) | const [inline, protected, virtual] |
Casts away const-ness.
| DtFederateHandle DtResignDirectiveMsg::sendingFederate | ( | ) | const [virtual] |
References DtNetResignDirectiveMsg::fedHandle, and netResignDirectiveMsg().
Referenced by printData().
| void DtResignDirectiveMsg::set | ( | DtFederateHandle | sendingFederate, |
| DtResignAction | resignDirective | ||
| ) | [virtual] |
Set all fields simultaneously.
References setResignDirective(), and setSendingFederate().
| void DtResignDirectiveMsg::setResignDirective | ( | DtResignAction | directive | ) | [virtual] |
Set/Get attribute handles.
References netResignDirectiveMsg(), and DtNetResignDirectiveMsg::resignDirective.
Referenced by DtResignDirectiveMsg(), and set().
| void DtResignDirectiveMsg::setSendingFederate | ( | DtFederateHandle | handle | ) | [virtual] |
Set/Get recipient federate handle.
References DtNetResignDirectiveMsg::fedHandle, and netResignDirectiveMsg().
Referenced by DtResignDirectiveMsg(), and set().