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

Stores information on a single component connected to a forwarder. More...

+ Collaboration diagram for DtAssistantNetworkCompInfo:

Public Member Functions

 DtAssistantNetworkCompInfo ()
 Constructors.
 DtAssistantNetworkCompInfo (const MAKRti::DtString &name)
 DtAssistantNetworkCompInfo (const DtAssistantNetworkCompInfo &orig)
virtual ~DtAssistantNetworkCompInfo ()
 Destructor.
virtual
DtAssistantNetworkCompInfo
operator= (const DtAssistantNetworkCompInfo &other)
 Assignment operator.
virtual bool operator== (const DtAssistantNetworkCompInfo &other) const
virtual bool operator!= (const DtAssistantNetworkCompInfo &other) const
bool isValid () const
 Returns whether this entry contains valid data.
bool isDropped () const
 Returns whether this is a dropped federate.
MAKRti::DtString name () const
 Methods to get and set network component information.
void setName (const MAKRti::DtString &n)
 Methods to get and set network component information.
MAKRti::DtInetAddr address () const
 Methods to get and set network component information.
void setAddress (const MAKRti::DtInetAddr &a)
 Methods to get and set network component information.
MAKRti::DtString hostName () const
 Methods to get and set network component information.
void setHostName (const MAKRti::DtString &n)
 Methods to get and set network component information.
MAKRti::DtString processName () const
 Methods to get and set network component information.
void setProcessName (const MAKRti::DtString &n)
 Methods to get and set network component information.
MAKRti::DtString typeName () const
 Methods to get and set network component information.
void setTypeName (const MAKRti::DtString &n)
 Methods to get and set network component information.
MAKRti::DtString commandArgs () const
 Methods to get and set network component information.
void setCommandArgs (const MAKRti::DtString &a)
 Methods to get and set network component information.
MAKRti::DtString pid () const
 Methods to get and set network component information.
void setPid (const MAKRti::DtString &p)
 Methods to get and set network component information.
MAKRti::DtString federationName () const
 Methods to get and set network component information.
void setFederationName (const MAKRti::DtString &h)
 Methods to get and set network component information.
int federateHandle () const
 Methods to get and set network component information.
void setFederateHandle (int h)
 Methods to get and set network component information.
unsigned connectionId () const
 Methods to get and set network component information.
void setConnectionId (unsigned i)
 Methods to get and set network component information.
int queueStatus () const
 Methods to get and set network component information.
void setQueueStatus (int q)
 Methods to get and set network component information.
DtHlaVersionId hlaVersion () const
 Methods to get and set network component information.
void setHlaVersion (DtHlaVersionId v)
 Methods to get and set network component information.
DtAssistantMsgFederateStatus federateStatus () const
 Methods to get and set network component information.
void setFederateStatus (DtAssistantMsgFederateStatus v)
 Methods to get and set network component information.

Protected Attributes

MAKRti::DtString myName
MAKRti::DtInetAddr myAddress
MAKRti::DtString myHostName
MAKRti::DtString myProcessName
MAKRti::DtString myTypeName
MAKRti::DtString myCommandArgs
MAKRti::DtString myPid
MAKRti::DtString myFederationName
int myFederateHandle
unsigned myConnId
int myQueueStatus
DtHlaVersionId myHlaVersion
DtAssistantMsgFederateStatus myFederateStatus

Detailed Description

Stores information on a single component connected to a forwarder.

Constructor & Destructor Documentation

DtAssistantNetworkCompInfo::DtAssistantNetworkCompInfo ( )

Constructors.

DtAssistantNetworkCompInfo::DtAssistantNetworkCompInfo ( const MAKRti::DtString &  name)
DtAssistantNetworkCompInfo::DtAssistantNetworkCompInfo ( const DtAssistantNetworkCompInfo orig)
DtAssistantNetworkCompInfo::~DtAssistantNetworkCompInfo ( )
virtual

Destructor.

Member Function Documentation

MAKRti::DtInetAddr DtAssistantNetworkCompInfo::address ( ) const
inline
MAKRti::DtString DtAssistantNetworkCompInfo::commandArgs ( ) const
inline

Methods to get and set network component information.

Referenced by DtAssistantFederationsViewMgr::logFederateInfo(), operator=(), and DtFederationsViewDialog::showFederateInfo().

unsigned DtAssistantNetworkCompInfo::connectionId ( ) const
inline

Methods to get and set network component information.

Referenced by operator=().

int DtAssistantNetworkCompInfo::federateHandle ( ) const
inline

Methods to get and set network component information.

Referenced by operator=(), and DtFederationsViewDialog::selectDeadFederate().

DtAssistantMsgFederateStatus DtAssistantNetworkCompInfo::federateStatus ( ) const
inline

Methods to get and set network component information.

Referenced by operator=().

MAKRti::DtString DtAssistantNetworkCompInfo::federationName ( ) const
inline

Methods to get and set network component information.

Referenced by operator=().

DtHlaVersionId DtAssistantNetworkCompInfo::hlaVersion ( ) const
inline

Methods to get and set network component information.

Referenced by operator=(), and DtFederationsViewDialog::showDeadFederateInfo().

MAKRti::DtString DtAssistantNetworkCompInfo::hostName ( ) const
inline
bool DtAssistantNetworkCompInfo::isDropped ( ) const

Returns whether this is a dropped federate.

This parses the myName for "Dropped " To determine this.

References DtASSISTANT_DROPPED, and myFederateStatus.

Referenced by DtFederationsViewDialog::selectDeadFederate().

bool DtAssistantNetworkCompInfo::isValid ( ) const
inline

Returns whether this entry contains valid data.

If data is valid, there should at minimum be a valid IP address.

Referenced by DtFederationsViewDialog::selectRtiexec(), and DtAssistantFederationsViewMgr::updateRtiexecCompInfo().

MAKRti::DtString DtAssistantNetworkCompInfo::name ( ) const
inline

Methods to get and set network component information.

Referenced by operator=(), and DtAssistantFederationsViewMgr::processFederateSelection().

bool DtAssistantNetworkCompInfo::operator!= ( const DtAssistantNetworkCompInfo other) const
virtual

References operator==().

DtAssistantNetworkCompInfo & DtAssistantNetworkCompInfo::operator= ( const DtAssistantNetworkCompInfo other)
virtual
bool DtAssistantNetworkCompInfo::operator== ( const DtAssistantNetworkCompInfo other) const
virtual
MAKRti::DtString DtAssistantNetworkCompInfo::pid ( ) const
inline

Methods to get and set network component information.

Referenced by DtAssistantFederationsViewMgr::logFederateInfo(), operator=(), and DtFederationsViewDialog::showFederateInfo().

MAKRti::DtString DtAssistantNetworkCompInfo::processName ( ) const
inline
int DtAssistantNetworkCompInfo::queueStatus ( ) const
inline
void DtAssistantNetworkCompInfo::setAddress ( const MAKRti::DtInetAddr &  a)
inline

Methods to get and set network component information.

Referenced by DtAssistantForwarderInfo::updateFromStateMsg().

void DtAssistantNetworkCompInfo::setCommandArgs ( const MAKRti::DtString &  a)
inline

Methods to get and set network component information.

Referenced by DtAssistantForwarderInfo::updateFromStateMsg().

void DtAssistantNetworkCompInfo::setConnectionId ( unsigned  i)
inline

Methods to get and set network component information.

Referenced by DtAssistantForwarderInfo::updateFromStateMsg().

void DtAssistantNetworkCompInfo::setFederateHandle ( int  h)
inline

Methods to get and set network component information.

Referenced by DtAssistantForwarderInfo::updateFromStateMsg().

void DtAssistantNetworkCompInfo::setFederateStatus ( DtAssistantMsgFederateStatus  v)
inline

Methods to get and set network component information.

Referenced by DtAssistantForwarderInfo::updateFromStateMsg().

void DtAssistantNetworkCompInfo::setFederationName ( const MAKRti::DtString &  h)
inline

Methods to get and set network component information.

Referenced by DtAssistantForwarderInfo::updateFromStateMsg().

void DtAssistantNetworkCompInfo::setHlaVersion ( DtHlaVersionId  v)
inline

Methods to get and set network component information.

Referenced by DtAssistantForwarderInfo::updateFromStateMsg().

void DtAssistantNetworkCompInfo::setHostName ( const MAKRti::DtString &  n)
inline

Methods to get and set network component information.

Referenced by DtAssistantForwarderInfo::updateFromStateMsg().

void DtAssistantNetworkCompInfo::setName ( const MAKRti::DtString &  n)
inline

Methods to get and set network component information.

Referenced by DtAssistantForwarderInfo::updateFromStateMsg().

void DtAssistantNetworkCompInfo::setPid ( const MAKRti::DtString &  p)
inline

Methods to get and set network component information.

Referenced by DtAssistantForwarderInfo::updateFromStateMsg().

void DtAssistantNetworkCompInfo::setProcessName ( const MAKRti::DtString &  n)
inline

Methods to get and set network component information.

Referenced by DtAssistantForwarderInfo::updateFromStateMsg().

void DtAssistantNetworkCompInfo::setQueueStatus ( int  q)
inline

Methods to get and set network component information.

Referenced by DtAssistantForwarderInfo::updateFromStateMsg().

void DtAssistantNetworkCompInfo::setTypeName ( const MAKRti::DtString &  n)
inline

Methods to get and set network component information.

Referenced by DtAssistantForwarderInfo::updateFromStateMsg().

MAKRti::DtString DtAssistantNetworkCompInfo::typeName ( ) const
inline

Methods to get and set network component information.

Referenced by operator=(), and DtFederationsViewDialog::showDeadFederateInfo().

Member Data Documentation

MAKRti::DtInetAddr DtAssistantNetworkCompInfo::myAddress
protected

Referenced by operator=(), and operator==().

MAKRti::DtString DtAssistantNetworkCompInfo::myCommandArgs
protected

Referenced by operator=(), and operator==().

unsigned DtAssistantNetworkCompInfo::myConnId
protected

Referenced by operator=(), and operator==().

int DtAssistantNetworkCompInfo::myFederateHandle
protected

Referenced by operator=(), and operator==().

DtAssistantMsgFederateStatus DtAssistantNetworkCompInfo::myFederateStatus
protected

Referenced by isDropped(), and operator=().

MAKRti::DtString DtAssistantNetworkCompInfo::myFederationName
protected

Referenced by operator=(), and operator==().

DtHlaVersionId DtAssistantNetworkCompInfo::myHlaVersion
protected

Referenced by operator=(), and operator==().

MAKRti::DtString DtAssistantNetworkCompInfo::myHostName
protected

Referenced by operator=(), and operator==().

MAKRti::DtString DtAssistantNetworkCompInfo::myName
protected

Referenced by operator=(), and operator==().

MAKRti::DtString DtAssistantNetworkCompInfo::myPid
protected

Referenced by operator=(), and operator==().

MAKRti::DtString DtAssistantNetworkCompInfo::myProcessName
protected

Referenced by operator=(), and operator==().

int DtAssistantNetworkCompInfo::myQueueStatus
protected

Referenced by operator=(), and operator==().

MAKRti::DtString DtAssistantNetworkCompInfo::myTypeName
protected

Referenced by operator=(), and operator==().


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

Document ID: Generated on Wed Mar 11 20:26:49 EDT 2015 from SVN revision 150939
Copyright © 2005-2015 VT MÄK Inc. All Rights Reserved (www.mak.com)