MAK RTIspy API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Attributes | Static Protected Attributes
DtAssistantInfo Class Reference

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().

Detailed Description

Stores basic information about a remote assistant.

Constructor & Destructor Documentation

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.

Member Function Documentation

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 void DtAssistantInfo::setThisAssistantId ( int  id)
static

Sets the ID of this assistant for comparisons.

Member Data Documentation

DtHostNameAddress DtAssistantInfo::myHost
protected

Host on which the assistant is running.

int DtAssistantInfo::myId
protected

ID used to distinguish between assistants running on the same machine.

MAKRti::DtInetAddr DtAssistantInfo::myNetworkInterfaceAddr
protected

Address of local interface to remote host.

int DtAssistantInfo::theIdOfThisAssistant
staticprotected

The ID of this assistant. Must be set with setThisAssistantInfo().


The documentation for this class was generated from the following file:

Document ID: Generated on Mon Mar 21 09:41:37 EDT 2016 from SVN revision 163228
Copyright © 2005-2015 VT MÄK Inc. All Rights Reserved (www.mak.com)