![]() |
MAK RTIspy API Documentation for HLA 1.3
|
Inheritance diagram for DtConnectMsg:
Collaboration diagram for DtConnectMsg:Public Member Functions | |
| DtConnectMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| DtConnectMsg (const DtNetConnectMsg *netRep, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| DtConnectMsg (DtHandle handle, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| virtual | ~DtConnectMsg () |
| Destructor. | |
| virtual DtRtiMsg * | clone (bool copy=true) const |
| Return a copy/empty object of the same type as this. | |
| virtual void | set (DtHandle handle) |
| Set all fields simultaneously. | |
| virtual DtHandle | connectionHandle () const |
| Set get connection handle. | |
| virtual void | setConnectionHandle (DtHandle handle) |
| 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, DtConnectCb cb, void *usr, bool isMomCallback=false) |
| Callback management. | |
| static void | removeCallback (DtConnectionMgr *conn, DtConnectCb cb, void *usr, bool isMomCallback=false) |
Protected Member Functions | |
| virtual DtNetConnectMsg * | netConnectMsg () |
| The network representation. | |
| virtual const DtNetConnectMsg * | netConnectMsg () const |
| virtual DtRtiMsgKind | internalDtRtiMsgKind () |
| Returns the kind of an Connect Msg. | |
| virtual int | minSize () const |
| Returns minimum size of a message, including header. | |
| virtual DtConnectMsg * | self () const |
| Casts away const-ness. | |
| DtConnectMsg::DtConnectMsg | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) |
Constructor.
References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), and minSize().
| DtConnectMsg::DtConnectMsg | ( | const DtNetConnectMsg * | netRep, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
Constructor.
References DtNetDesignatedFederateMsg::header, and DtRtiMsg::initDtRtiMsg().
| DtConnectMsg::DtConnectMsg | ( | DtHandle | handle, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
Constructor.
References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), and minSize().
| DtConnectMsg::~DtConnectMsg | ( | ) | [virtual] |
Destructor.
| void DtConnectMsg::addCallback | ( | DtConnectionMgr * | conn, |
| DtConnectCb | cb, | ||
| void * | usr, | ||
| bool | isMomCallback = false |
||
| ) | [static] |
Callback management.
References DtConnectionMgr::addMsgCallback(), and DtConnectMsgKind.
| DtRtiMsg * DtConnectMsg::clone | ( | bool | copy = true | ) | const [virtual] |
Return a copy/empty object of the same type as this.
Implements DtRtiMsg.
Reimplemented in DtDeleteSocketMsg, DtDisconnectMsg, and DtRtiExecDisconnectMsg.
References DtConnectMsg(), and netConnectMsg().
| DtHandle DtConnectMsg::connectionHandle | ( | ) | const [virtual] |
Set get connection handle.
References DtNetDesignatedFederateMsg::designatedFederate, and netConnectMsg().
Referenced by DtRtiExecHandshakeProcessor::gotRtiExecDisconnect(), DtDeleteSocketFilter::handleDeleteSocketMsg(), printData(), DtRtiExec::processDisconnect(), DtRtiExecTrackingFilter::processDisconnectMsg(), and DtRtiExecTrackingFilter::processTimeout().
| DtRtiMsg * DtConnectMsg::create | ( | const DtNetMsgHeader * | initial, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) | [static] |
Creator.
Reimplemented in DtDeleteSocketMsg, DtDisconnectMsg, and DtRtiExecDisconnectMsg.
References DtConnectMsg().
| DtRtiMsg * DtConnectMsg::create | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) | [static] |
Reimplemented in DtDeleteSocketMsg, DtDisconnectMsg, and DtRtiExecDisconnectMsg.
References DtConnectMsg().
| DtRtiMsgKind DtConnectMsg::internalDtRtiMsgKind | ( | ) | [protected, virtual] |
Returns the kind of an Connect Msg.
Implements DtRtiMsg.
Reimplemented in DtDeleteSocketMsg, DtDisconnectMsg, and DtRtiExecDisconnectMsg.
References DtConnectMsgKind.
Referenced by DtConnectMsg().
| int DtConnectMsg::minSize | ( | ) | const [protected, virtual] |
Returns minimum size of a message, including header.
Referenced by DtConnectMsg().
| DtNetConnectMsg * DtConnectMsg::netConnectMsg | ( | ) | [protected, virtual] |
The network representation.
Referenced by DtDisconnectMsg::clone(), DtRtiExecDisconnectMsg::clone(), DtDeleteSocketMsg::clone(), clone(), connectionHandle(), and setConnectionHandle().
| const DtNetConnectMsg * DtConnectMsg::netConnectMsg | ( | ) | const [protected, virtual] |
| void DtConnectMsg::printData | ( | DtLogicalTimeFactory * | logicalTimeFactory | ) | const [virtual] |
| void DtConnectMsg::removeCallback | ( | DtConnectionMgr * | conn, |
| DtConnectCb | cb, | ||
| void * | usr, | ||
| bool | isMomCallback = false |
||
| ) | [static] |
References DtConnectMsgKind, and DtConnectionMgr::removeMsgCallback().
| DtConnectMsg * DtConnectMsg::self | ( | ) | const [inline, protected, virtual] |
Casts away const-ness.
| void DtConnectMsg::set | ( | DtHandle | handle | ) | [virtual] |
Set all fields simultaneously.
References setConnectionHandle().
| void DtConnectMsg::setConnectionHandle | ( | DtHandle | handle | ) | [virtual] |