![]() |
MAK RTIspy API Documentation for HLA 1.3
|
Stores the current state of a single forwarder. More...
Collaboration diagram for DtAssistantForwarderInfo:Public Types | |
| typedef std::pair < MAKRti::DtString, int > | DtFedexNameFedHdlPair |
| Typedefs for information storage. More... | |
| typedef std::map < DtFedexNameFedHdlPair, DtAssistantNetworkCompInfo > | DtCompByFederationAndHandleMap |
| Typedefs for information storage. More... | |
| typedef std::map < DtInetAddrAndPort, DtAssistantNetworkCompInfo > | DtPeerForwarderByAddrMap |
| Typedefs for information storage. More... | |
Public Member Functions | |
| DtAssistantForwarderInfo (bool isLocal) | |
| Constructor. More... | |
| ~DtAssistantForwarderInfo () | |
| Destructor. More... | |
| DtAssistantForwarderInfo & | operator= (const DtAssistantForwarderInfo &rhs) |
| Overloaded operator=. More... | |
| bool | operator!= (const DtAssistantForwarderInfo &other) const |
| bool | operator== (const DtAssistantForwarderInfo &other) const |
| void | updateFromStateMsg (const DtAssistantForwarderStateMsg &msg) |
| Updates the state from a status message. More... | |
| const DtAssistantMsg * | lastStateMsg () const |
| Returns a pointer to the last state message we received for this forwarder. More... | |
| MAKRti::DtInetAddr | address () const |
| Methods to get forwarder information. More... | |
| int | port () const |
| Methods to get forwarder information. More... | |
| MAKRti::DtString | name () const |
| Methods to get forwarder information. More... | |
| MAKRti::DtString | hostName () const |
| Methods to get forwarder information. More... | |
| const DtPeerForwarderByAddrMap * | peerForwarders () const |
| Methods to get forwarder information. More... | |
| const DtAssistantNetworkCompInfo * | rtiexecInfo () const |
| Methods to get forwarder information. More... | |
| const DtAssistantNetworkCompInfo * | federateInfo (const MAKRti::DtString &federation, int handle) const |
| Methods to get forwarder information. More... | |
| const DtCompByFederationAndHandleMap * | federates () const |
| Methods to get forwarder information. More... | |
| const DtAssistantNetworkCompInfoList * | unclassifiedConns () const |
| Methods to get forwarder information. More... | |
| const DtAssistantNetworkCompInfo * | unclassifiedConnInfo (unsigned connId) const |
| Methods to get forwarder information. More... | |
| bool | isDropped () |
| Methods to get forwarder information. More... | |
Protected Attributes | |
| MAKRti::DtInetAddr | myAddr |
| Address of this forwarder. More... | |
| int | myPort |
| Forwarder port for this forwarder. More... | |
| MAKRti::DtString | myName |
| Name of this forwarder. More... | |
| MAKRti::DtString | myHostName |
| Host name of this forwarder. More... | |
| DtPeerForwarderByAddrMap | myPeerForwarders |
| Map of forwarder addr&port to connected peer forwarder info. More... | |
| DtAssistantNetworkCompInfo | myRtiexec |
| Info on the rtiexec connected to this forwarder. More... | |
| DtCompByFederationAndHandleMap | myFederateConns |
| Map of federation name/connection handle pairs to info on federate connections. More... | |
| std::list < DtAssistantNetworkCompInfo > | myUnclassifiedConns |
| List of unclassified connections. More... | |
| bool | myIsLocal |
| Whether or not this forwarder is local to this assistant. More... | |
| std::shared_ptr< DtAssistantMsg > | myLastStateMessage |
| The last received forwarder state message. More... | |
Stores the current state of a single forwarder.
| typedef std::map<DtFedexNameFedHdlPair, DtAssistantNetworkCompInfo> DtAssistantForwarderInfo::DtCompByFederationAndHandleMap |
Typedefs for information storage.
| typedef std::pair<MAKRti::DtString, int> DtAssistantForwarderInfo::DtFedexNameFedHdlPair |
Typedefs for information storage.
| typedef std::map<DtInetAddrAndPort, DtAssistantNetworkCompInfo> DtAssistantForwarderInfo::DtPeerForwarderByAddrMap |
Typedefs for information storage.
| DtAssistantForwarderInfo::DtAssistantForwarderInfo | ( | bool | isLocal | ) |
Constructor.
| DtAssistantForwarderInfo::~DtAssistantForwarderInfo | ( | ) |
Destructor.
|
inline |
Methods to get forwarder information.
| const DtAssistantNetworkCompInfo* DtAssistantForwarderInfo::federateInfo | ( | const MAKRti::DtString & | federation, |
| int | handle | ||
| ) | const |
Methods to get forwarder information.
|
inline |
Methods to get forwarder information.
| MAKRti::DtString DtAssistantForwarderInfo::hostName | ( | ) | const |
Methods to get forwarder information.
| bool DtAssistantForwarderInfo::isDropped | ( | ) |
Methods to get forwarder information.
|
inline |
Returns a pointer to the last state message we received for this forwarder.
Only stored for local forwarders.
| MAKRti::DtString DtAssistantForwarderInfo::name | ( | ) | const |
Methods to get forwarder information.
| bool DtAssistantForwarderInfo::operator!= | ( | const DtAssistantForwarderInfo & | other | ) | const |
| DtAssistantForwarderInfo& DtAssistantForwarderInfo::operator= | ( | const DtAssistantForwarderInfo & | rhs | ) |
Overloaded operator=.
| bool DtAssistantForwarderInfo::operator== | ( | const DtAssistantForwarderInfo & | other | ) | const |
|
inline |
Methods to get forwarder information.
|
inline |
Methods to get forwarder information.
|
inline |
Methods to get forwarder information.
| const DtAssistantNetworkCompInfo* DtAssistantForwarderInfo::unclassifiedConnInfo | ( | unsigned | connId | ) | const |
Methods to get forwarder information.
|
inline |
Methods to get forwarder information.
| void DtAssistantForwarderInfo::updateFromStateMsg | ( | const DtAssistantForwarderStateMsg & | msg | ) |
Updates the state from a status message.
|
protected |
Address of this forwarder.
|
protected |
Map of federation name/connection handle pairs to info on federate connections.
|
protected |
Host name of this forwarder.
|
protected |
Whether or not this forwarder is local to this assistant.
|
protected |
The last received forwarder state message.
|
protected |
Name of this forwarder.
|
protected |
Map of forwarder addr&port to connected peer forwarder info.
|
protected |
Forwarder port for this forwarder.
|
protected |
Info on the rtiexec connected to this forwarder.
|
protected |
List of unclassified connections.
These are most likely federates which are not currently joined to a federation.