![]() |
MAK RTIspy API Documentation for HLA Evolved
|
Inheritance diagram for DtRtiExecConnectMsg:
Collaboration diagram for DtRtiExecConnectMsg:Public Member Functions | |
| DtRtiExecConnectMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| DtRtiExecConnectMsg (const DtNetExecConnectMsg *netRep, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| DtRtiExecConnectMsg (DtHandle handle, const MAKRti::DtInetAddr &rootFwAddr, int rootFwPort, const MAKRti::DtString &hostName, bool fullyCompliant, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| virtual | ~DtRtiExecConnectMsg () |
| Destructor. | |
| virtual DtRtiMsg * | clone (bool copy=true) const |
| Return a copy/empty object of the same type as this. | |
| virtual void | set (DtHandle handle, const MAKRti::DtInetAddr &rootFwAddr, int rootFwPort, const MAKRti::DtString &hostName, bool fullyCompliant) |
| Set all fields simultaneously. | |
| virtual DtHandle | connectionHandle () const |
| Set get connection handle. | |
| virtual void | setConnectionHandle (DtHandle handle) |
| virtual MAKRti::DtInetAddr | rootForwarderAddr () const |
| Set get root Forwarder address. | |
| virtual void | setRootForwarderAddr (const MAKRti::DtInetAddr &addr) |
| virtual int | rootForwarderPort () const |
| Set get root Forwarder port. | |
| virtual void | setRootForwarderPort (int port) |
| virtual MAKRti::DtInetUtils::DtInetAddrFamily | addressFamily () const |
| Set get IP address family. | |
| virtual void | setAddressFamily (MAKRti::DtInetUtils::DtInetAddrFamily fam) |
| virtual void | setHostName (const MAKRti::DtString &name) |
| set get hostname of exec machine. | |
| virtual MAKRti::DtString | hostName () const |
| virtual void | setFullyCompliant (bool fullCompliance) |
| set get fully compliant setting. | |
| virtual bool | fullyCompliant () 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, DtRtiExecConnectCb cb, void *usr, bool isMomCallback=false) |
| Callback management. | |
| static void | removeCallback (DtConnectionMgr *conn, DtRtiExecConnectCb cb, void *usr, bool isMomCallback=false) |
Protected Member Functions | |
| virtual DtNetExecConnectMsg * | netExecConnectMsg () |
| The network representation. | |
| virtual const DtNetExecConnectMsg * | netExecConnectMsg () const |
| virtual DtRtiMsgKind | internalDtRtiMsgKind () |
| Returns the kind of an RtiExec Connect Msg. | |
| virtual char * | hostNamePtr () |
| Helper functions for encoding the hostname. | |
| virtual const char * | hostNamePtr () const |
| virtual int | hostNameSize () const |
| virtual int | minSize () const |
| Returns minimum size of a message, including header. | |
| virtual DtRtiExecConnectMsg * | self () const |
| Casts away const-ness. | |
| DtRtiExecConnectMsg::DtRtiExecConnectMsg | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) |
Constructor.
References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), and minSize().
| DtRtiExecConnectMsg::DtRtiExecConnectMsg | ( | const DtNetExecConnectMsg * | netRep, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
Constructor.
References DtNetExecConnectMsg::header, and DtRtiMsg::initDtRtiMsg().
| DtRtiExecConnectMsg::DtRtiExecConnectMsg | ( | DtHandle | handle, |
| const MAKRti::DtInetAddr & | rootFwAddr, | ||
| int | rootFwPort, | ||
| const MAKRti::DtString & | hostName, | ||
| bool | fullyCompliant, | ||
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
Constructor.
References fullyCompliant(), hostName(), DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), and minSize().
| DtRtiExecConnectMsg::~DtRtiExecConnectMsg | ( | ) | [virtual] |
Destructor.
| void DtRtiExecConnectMsg::addCallback | ( | DtConnectionMgr * | conn, |
| DtRtiExecConnectCb | cb, | ||
| void * | usr, | ||
| bool | isMomCallback = false |
||
| ) | [static] |
Callback management.
References DtConnectionMgr::addMsgCallback(), and DtRtiExecConnectMsgKind.
| MAKRti::DtInetUtils::DtInetAddrFamily DtRtiExecConnectMsg::addressFamily | ( | ) | const [virtual] |
| DtRtiMsg * DtRtiExecConnectMsg::clone | ( | bool | copy = true | ) | const [virtual] |
Return a copy/empty object of the same type as this.
Implements DtRtiMsg.
References DtRtiExecConnectMsg(), and netExecConnectMsg().
| DtHandle DtRtiExecConnectMsg::connectionHandle | ( | ) | const [virtual] |
Set get connection handle.
References DtNetExecConnectMsg::connectionId, and netExecConnectMsg().
Referenced by DtRtiExecHandshakeProcessor::gotRtiExecConnect(), and DtRtiExecTrackingFilter::processRtiExecConnectMsg().
| DtRtiMsg * DtRtiExecConnectMsg::create | ( | const DtNetMsgHeader * | initial, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) | [static] |
Creator.
References DtRtiExecConnectMsg().
| DtRtiMsg * DtRtiExecConnectMsg::create | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) | [static] |
References DtRtiExecConnectMsg().
| bool DtRtiExecConnectMsg::fullyCompliant | ( | ) | const [virtual] |
| MAKRti::DtString DtRtiExecConnectMsg::hostName | ( | ) | const [virtual] |
References hostNamePtr(), and hostNameSize().
Referenced by DtRtiExecConnectMsg(), DtRtiExecHandshakeProcessor::gotRtiExecConnect(), and DtRtiExecTrackingFilter::processRtiExecConnectMsg().
| char * DtRtiExecConnectMsg::hostNamePtr | ( | ) | [protected, virtual] |
Helper functions for encoding the hostname.
References netExecConnectMsg().
Referenced by hostName(), and setHostName().
| const char * DtRtiExecConnectMsg::hostNamePtr | ( | ) | const [protected, virtual] |
References netExecConnectMsg().
| int DtRtiExecConnectMsg::hostNameSize | ( | ) | const [protected, virtual] |
References DtNetExecConnectMsg::hostNameSize, and netExecConnectMsg().
Referenced by hostName(), and setHostName().
| DtRtiMsgKind DtRtiExecConnectMsg::internalDtRtiMsgKind | ( | ) | [protected, virtual] |
Returns the kind of an RtiExec Connect Msg.
Implements DtRtiMsg.
References DtRtiExecConnectMsgKind.
Referenced by DtRtiExecConnectMsg().
| int DtRtiExecConnectMsg::minSize | ( | ) | const [protected, virtual] |
Returns minimum size of a message, including header.
Referenced by DtRtiExecConnectMsg().
| DtNetExecConnectMsg * DtRtiExecConnectMsg::netExecConnectMsg | ( | ) | [protected, virtual] |
The network representation.
Referenced by addressFamily(), clone(), connectionHandle(), fullyCompliant(), hostNamePtr(), hostNameSize(), rootForwarderAddr(), rootForwarderPort(), setAddressFamily(), setConnectionHandle(), setFullyCompliant(), setHostName(), setRootForwarderAddr(), and setRootForwarderPort().
| const DtNetExecConnectMsg * DtRtiExecConnectMsg::netExecConnectMsg | ( | ) | const [protected, virtual] |
| void DtRtiExecConnectMsg::printData | ( | DtLogicalTimeFactory * | logicalTimeFactory | ) | const [virtual] |
Print the data section.
Reimplemented from DtRtiMsg.
References rootForwarderAddr(), and rootForwarderPort().
| void DtRtiExecConnectMsg::removeCallback | ( | DtConnectionMgr * | conn, |
| DtRtiExecConnectCb | cb, | ||
| void * | usr, | ||
| bool | isMomCallback = false |
||
| ) | [static] |
References DtRtiExecConnectMsgKind, and DtConnectionMgr::removeMsgCallback().
| MAKRti::DtInetAddr DtRtiExecConnectMsg::rootForwarderAddr | ( | ) | const [virtual] |
Set get root Forwarder address.
References addressFamily(), and netExecConnectMsg().
Referenced by DtRtiExecConnectionFilter< ParentType >::doMessageProcessing(), and printData().
| int DtRtiExecConnectMsg::rootForwarderPort | ( | ) | const [virtual] |
Set get root Forwarder port.
References netExecConnectMsg(), and DtNetExecConnectMsg::rootForwarderPort.
Referenced by DtRtiExecConnectionFilter< ParentType >::doMessageProcessing(), and printData().
| DtRtiExecConnectMsg * DtRtiExecConnectMsg::self | ( | ) | const [inline, protected, virtual] |
Casts away const-ness.
| void DtRtiExecConnectMsg::set | ( | DtHandle | handle, |
| const MAKRti::DtInetAddr & | rootFwAddr, | ||
| int | rootFwPort, | ||
| const MAKRti::DtString & | hostName, | ||
| bool | fullyCompliant | ||
| ) | [virtual] |
Set all fields simultaneously.
References setConnectionHandle(), setFullyCompliant(), setHostName(), setRootForwarderAddr(), and setRootForwarderPort().
| void DtRtiExecConnectMsg::setAddressFamily | ( | MAKRti::DtInetUtils::DtInetAddrFamily | fam | ) | [virtual] |
References DtNetExecConnectMsg::addressFamily, and netExecConnectMsg().
Referenced by setRootForwarderAddr().
| void DtRtiExecConnectMsg::setConnectionHandle | ( | DtHandle | handle | ) | [virtual] |
References DtNetExecConnectMsg::connectionId, and netExecConnectMsg().
Referenced by set().
| void DtRtiExecConnectMsg::setFullyCompliant | ( | bool | fullCompliance | ) | [virtual] |
set get fully compliant setting.
References DtNetExecConnectMsg::fullyCompliant, and netExecConnectMsg().
Referenced by set().
| void DtRtiExecConnectMsg::setHostName | ( | const MAKRti::DtString & | name | ) | [virtual] |
set get hostname of exec machine.
References hostNamePtr(), DtNetExecConnectMsg::hostNameSize, hostNameSize(), rti1516e::insertBytes(), and netExecConnectMsg().
Referenced by set().
| void DtRtiExecConnectMsg::setRootForwarderAddr | ( | const MAKRti::DtInetAddr & | addr | ) | [virtual] |
References netExecConnectMsg(), DtNetExecConnectMsg::rootForwarderAddr, and setAddressFamily().
Referenced by set().
| void DtRtiExecConnectMsg::setRootForwarderPort | ( | int | port | ) | [virtual] |
References netExecConnectMsg(), and DtNetExecConnectMsg::rootForwarderPort.
Referenced by set().