![]() |
MAK RTIspy API Documentation for HLA 1.3
|
Stores basic information about a remote assistant. More...
Collaboration diagram for DtAssistantInfo:Public Member Functions | |
| ~DtAssistantInfo () | |
| Destructor. | |
| bool | operator< (const DtAssistantInfo &other) const |
| Overloaded operator. | |
| bool | operator== (const DtAssistantInfo &other) const |
| Overloaded operator. Determines if all params are equal. | |
| bool | operator!= (const DtAssistantInfo &other) const |
| Overloaded operator. Determines if any param is not equal. | |
| DtHostNameAddress | host () const |
| Get the host of the assistant. | |
| void | setHost (const DtHostNameAddress &host) |
| Set the host of the assistant. | |
| const MAKRti::DtString & | hostName () const |
| Get the host name of the assistant. | |
| void | setHostName (const MAKRti::DtString &name) |
| Set the host name of the assistant. | |
| const MAKRti::DtInetAddr & | address () const |
| Get IP address of the assistant. | |
| void | setAddress (const MAKRti::DtInetAddr &addr) |
| Set the IP address of the assistant. | |
| const MAKRti::DtInetAddr & | networkInterfaceAddress () const |
| Get address of local interface to the remote the assistant. | |
| void | setNetworkInterfaceAddress (const MAKRti::DtInetAddr &interfaceAddr) |
| Set address of local interface to the remote the assistant. | |
| int | id () const |
| Get the ID which is used to distinguish between assistants running on the same machine. | |
| void | setId (int id) |
| Set the ID which is used to distinguish between assistants running on the same machine. | |
| DtAssistantInfoSet::const_iterator | findMatchingHostInfo (const DtAssistantInfoSet &set) |
| Returns an iterator into the given set of an item in the set that matches this assistant's host info. | |
| bool | isThisAssistant () const |
| Returns true if this assistant info is for this assistant. | |
| DtAssistantInfo () | |
| Constructor. | |
| DtAssistantInfo (const MAKRti::DtString &host, const MAKRti::DtInetAddr &addr, const MAKRti::DtInetAddr &interfaceAddr, int id) | |
| Constructor. | |
| DtAssistantInfo (const DtHostNameAddress &host, const MAKRti::DtInetAddr &interfaceAddr, int id) | |
| Constructor. | |
Static Public Member Functions | |
| static void | setThisAssistantId (int id) |
| Sets the ID of this assistant for comparisons. | |
Protected Attributes | |
| DtHostNameAddress | myHost |
| Host on which the assistant is running. | |
| MAKRti::DtInetAddr | myNetworkInterfaceAddr |
| Address of local interface to remote host. | |
| int | myId |
| ID used to distinguish between assistants running on the same machine. | |
Static Protected Attributes | |
| static int | theIdOfThisAssistant |
| The ID of this assistant. Must be set with setThisAssistantInfo(). | |
Stores basic information about a remote assistant.
| DtAssistantInfo::DtAssistantInfo | ( | ) |
Constructor.
| DtAssistantInfo::DtAssistantInfo | ( | const MAKRti::DtString & | host, |
| const MAKRti::DtInetAddr & | addr, | ||
| const MAKRti::DtInetAddr & | interfaceAddr, | ||
| int | id | ||
| ) |
Constructor.
| DtAssistantInfo::DtAssistantInfo | ( | const DtHostNameAddress & | host, |
| const MAKRti::DtInetAddr & | interfaceAddr, | ||
| int | id | ||
| ) |
Constructor.
| DtAssistantInfo::~DtAssistantInfo | ( | ) |
Destructor.
| const MAKRti::DtInetAddr& DtAssistantInfo::address | ( | ) | const |
Get IP address of the assistant.
| DtAssistantInfoSet::const_iterator DtAssistantInfo::findMatchingHostInfo | ( | const DtAssistantInfoSet & | set | ) |
Returns an iterator into the given set of an item in the set that matches this assistant's host info.
Does not attempt to match ID.
| DtHostNameAddress DtAssistantInfo::host | ( | ) | const |
Get the host of the assistant.
| const MAKRti::DtString& DtAssistantInfo::hostName | ( | ) | const |
Get the host name of the assistant.
| int DtAssistantInfo::id | ( | ) | const |
Get the ID which is used to distinguish between assistants running on the same machine.
| bool DtAssistantInfo::isThisAssistant | ( | ) | const |
Returns true if this assistant info is for this assistant.
| const MAKRti::DtInetAddr& DtAssistantInfo::networkInterfaceAddress | ( | ) | const |
Get address of local interface to the remote the assistant.
| bool DtAssistantInfo::operator!= | ( | const DtAssistantInfo & | other | ) | const |
Overloaded operator. Determines if any param is not equal.
| bool DtAssistantInfo::operator< | ( | const DtAssistantInfo & | other | ) | const |
Overloaded operator.
| bool DtAssistantInfo::operator== | ( | const DtAssistantInfo & | other | ) | const |
Overloaded operator. Determines if all params are equal.
| void DtAssistantInfo::setAddress | ( | const MAKRti::DtInetAddr & | addr | ) |
Set the IP address of the assistant.
| void DtAssistantInfo::setHost | ( | const DtHostNameAddress & | host | ) |
Set the host of the assistant.
| void DtAssistantInfo::setHostName | ( | const MAKRti::DtString & | name | ) |
Set the host name of the assistant.
| void DtAssistantInfo::setId | ( | int | id | ) |
Set the ID which is used to distinguish between assistants running on the same machine.
| void DtAssistantInfo::setNetworkInterfaceAddress | ( | const MAKRti::DtInetAddr & | interfaceAddr | ) |
Set address of local interface to the remote the assistant.
|
static |
Sets the ID of this assistant for comparisons.
|
protected |
Host on which the assistant is running.
|
protected |
ID used to distinguish between assistants running on the same machine.
|
protected |
Address of local interface to remote host.
|
staticprotected |
The ID of this assistant. Must be set with setThisAssistantInfo().