![]() |
MAK RTIspy API Documentation for HLA 1.3
|
Inheritance diagram for DtForwarderConnectionLostMsg:
Collaboration diagram for DtForwarderConnectionLostMsg:Public Member Functions | |
| DtForwarderConnectionLostMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| DtForwarderConnectionLostMsg (const DtNetForwarderConnectionLostMsg *netRep, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| DtForwarderConnectionLostMsg (unsigned int senderId, unsigned int lostId, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| virtual | ~DtForwarderConnectionLostMsg () |
| Destructor. | |
| virtual DtRtiMsg * | clone (bool copy=true) const |
| Return a copy/empty object of the same type as this. | |
| virtual void | set (unsigned int senderId, unsigned int lostId) |
| Set all fields simultaneously. | |
| virtual void | setSenderId (unsigned int senderId) |
| Set/Get the sender ID ( note ID is the forwarder's 16-bit Forwarder ID, not IP ) | |
| virtual unsigned int | senderId () const |
| virtual void | setLostId (unsigned int lostId) |
| Set/Get the lost forwarder ID ( note ID is the forwarder's 16-bit Forwarder ID, not IP ) | |
| virtual unsigned int | lostId () 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) |
| static void | addCallback (DtConnectionMgr *conn, DtForwarderConnectionLostCb cb, void *usr, bool isMomCallback=false) |
| Callback management. | |
| static void | removeCallback (DtConnectionMgr *conn, DtForwarderConnectionLostCb cb, void *usr, bool isMomCallback=false) |
Protected Member Functions | |
| virtual DtNetForwarderConnectionLostMsg * | netForwarderConnectionLostMsg () |
| The network representation. | |
| virtual const DtNetForwarderConnectionLostMsg * | netForwarderConnectionLostMsg () const |
| virtual DtRtiMsgKind | internalDtRtiMsgKind () |
| Returns the kind of an Forwarder ConnectionLost Msg. | |
| virtual int | minSize () const |
| Returns minimum size of a message, including header. | |
| virtual DtForwarderConnectionLostMsg * | self () const |
| Casts away const-ness. | |
| DtForwarderConnectionLostMsg::DtForwarderConnectionLostMsg | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) |
Constructor.
References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), and minSize().
| DtForwarderConnectionLostMsg::DtForwarderConnectionLostMsg | ( | const DtNetForwarderConnectionLostMsg * | netRep, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
Constructor.
References DtNetForwarderConnectionLostMsg::header, and DtRtiMsg::initDtRtiMsg().
| DtForwarderConnectionLostMsg::DtForwarderConnectionLostMsg | ( | unsigned int | senderId, |
| unsigned int | lostId, | ||
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
Constructor.
References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), lostId(), minSize(), and senderId().
Destructor.
| void DtForwarderConnectionLostMsg::addCallback | ( | DtConnectionMgr * | conn, |
| DtForwarderConnectionLostCb | cb, | ||
| void * | usr, | ||
| bool | isMomCallback = false |
||
| ) | [static] |
Callback management.
References DtConnectionMgr::addMsgCallback(), and DtForwarderConnectionLostMsgKind.
| DtRtiMsg * DtForwarderConnectionLostMsg::clone | ( | bool | copy = true | ) | const [virtual] |
Return a copy/empty object of the same type as this.
Implements DtRtiMsg.
References DtForwarderConnectionLostMsg(), and netForwarderConnectionLostMsg().
| DtRtiMsg * DtForwarderConnectionLostMsg::create | ( | const DtNetMsgHeader * | initial, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) | [static] |
Creator.
References DtForwarderConnectionLostMsg().
| DtRtiMsg * DtForwarderConnectionLostMsg::create | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) | [static] |
References DtForwarderConnectionLostMsg().
| DtRtiMsgKind DtForwarderConnectionLostMsg::internalDtRtiMsgKind | ( | ) | [protected, virtual] |
Returns the kind of an Forwarder ConnectionLost Msg.
Implements DtRtiMsg.
References DtForwarderConnectionLostMsgKind.
Referenced by DtForwarderConnectionLostMsg().
| unsigned int DtForwarderConnectionLostMsg::lostId | ( | ) | const [virtual] |
References DtNetForwarderConnectionLostMsg::lost, and netForwarderConnectionLostMsg().
Referenced by DtForwarderConnectionLostMsg(), and printData().
| int DtForwarderConnectionLostMsg::minSize | ( | ) | const [protected, virtual] |
Returns minimum size of a message, including header.
Referenced by DtForwarderConnectionLostMsg().
| DtNetForwarderConnectionLostMsg * DtForwarderConnectionLostMsg::netForwarderConnectionLostMsg | ( | ) | [protected, virtual] |
The network representation.
Referenced by clone(), lostId(), senderId(), setLostId(), and setSenderId().
| const DtNetForwarderConnectionLostMsg * DtForwarderConnectionLostMsg::netForwarderConnectionLostMsg | ( | ) | const [protected, virtual] |
| void DtForwarderConnectionLostMsg::printData | ( | DtLogicalTimeFactory * | logicalTimeFactory | ) | const [virtual] |
| void DtForwarderConnectionLostMsg::removeCallback | ( | DtConnectionMgr * | conn, |
| DtForwarderConnectionLostCb | cb, | ||
| void * | usr, | ||
| bool | isMomCallback = false |
||
| ) | [static] |
References DtForwarderConnectionLostMsgKind, and DtConnectionMgr::removeMsgCallback().
Referenced by DtForwarderFaultManager::~DtForwarderFaultManager().
| DtForwarderConnectionLostMsg * DtForwarderConnectionLostMsg::self | ( | ) | const [inline, protected, virtual] |
Casts away const-ness.
| unsigned int DtForwarderConnectionLostMsg::senderId | ( | ) | const [virtual] |
References netForwarderConnectionLostMsg(), and DtNetForwarderConnectionLostMsg::sender.
Referenced by DtForwarderConnectionLostMsg(), and printData().
| void DtForwarderConnectionLostMsg::set | ( | unsigned int | senderId, |
| unsigned int | lostId | ||
| ) | [virtual] |
Set all fields simultaneously.
References setLostId(), and setSenderId().
| void DtForwarderConnectionLostMsg::setLostId | ( | unsigned int | lostId | ) | [virtual] |
Set/Get the lost forwarder ID ( note ID is the forwarder's 16-bit Forwarder ID, not IP )
References DtNetForwarderConnectionLostMsg::lost, and netForwarderConnectionLostMsg().
Referenced by set().
| void DtForwarderConnectionLostMsg::setSenderId | ( | unsigned int | senderId | ) | [virtual] |
Set/Get the sender ID ( note ID is the forwarder's 16-bit Forwarder ID, not IP )
References netForwarderConnectionLostMsg(), and DtNetForwarderConnectionLostMsg::sender.
Referenced by set().