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

The client connection to the RTI Assistant for an LRC. More...

+ Inheritance diagram for DtRtiAssistantLrcClient:
+ Collaboration diagram for DtRtiAssistantLrcClient:

Public Member Functions

 DtRtiAssistantLrcClient (int port=0)
 
virtual ~DtRtiAssistantLrcClient ()
 
virtual void updateLrcName (const MAKRti::DtString &name)
 Updates the name used by the Assistant to identify this LRC. More...
 
virtual void updateFederateName (const MAKRti::DtString &fedName)
 Updates the federate name used by the assistant. More...
 
virtual void updateFederationInfo (unsigned long federationHandle, const MAKRti::DtString &federationName, unsigned long fedHandle, DtHlaVersionId hlaVersion)
 Updates the federation name and federate handle used by the Assistant to help identify this LRC. More...
 
virtual void updateLrcLogFile (const MAKRti::DtFilename &file)
 Updates the log file name used by this LRC. More...
 
virtual void updateLicenseServer (const MAKRti::DtString &server)
 Updates the license server used by this LRC. More...
 
virtual void updateConnInfo (const MAKRti::DtInetAddr &tcpAddr, int tcpPort, const MAKRti::DtInetAddr &tcpIntf, const MAKRti::DtInetAddr &udpAddr, int udpPort, const MAKRti::DtInetAddr &udpIntf, int forwarderPort, bool useRtiexec, bool fullCompliance)
 Updates the information on this LRC's RTI connection. More...
 
virtual void updateNetStats (bool enabled)
 
virtual void sendClientInfo ()
 Sends the stored LRC information to the Assistant. More...
 
virtual void sendNetStatsUpdate (DtFloat64 absTime, const std::vector< DtRtiAmbAPIType > &rtiAmbTypes, const std::vector< DtU32 > &rtiAmbNumCalls, const std::vector< DtFloat64 > &rtiAmbTotalTime, const std::vector< DtFloat64 > &rtiAmbAvgTime, const std::vector< DtFloat64 > &rtiAmbMinTime, const std::vector< DtFloat64 > &rtiAmbMaxTime, const std::vector< DtFedAmbAPIType > &fedAmbTypes, const std::vector< DtU32 > &fedAmbNumCalls, const std::vector< DtFloat64 > &fedAmbTotalTime, const std::vector< DtFloat64 > &fedAmbAvgTime, const std::vector< DtFloat64 > &fedAmbMinTime, const std::vector< DtFloat64 > &fedAmbMaxTime, const std::vector< DtRtiMsgKind > &msgKinds, const std::vector< DtU32 > &msgNumSent, const std::vector< DtU32 > &msgNumReceived, const std::vector< DtU32 > &msgBytesSent, const std::vector< DtU32 > &msgBytesReceived, const std::vector< DtU32 > &interactionClassHandles, const std::vector< DtU32 > &interactionUpdatesReceived, const std::vector< DtU32 > &interactionBytesReceived, const std::vector< DtU32 > &interactionUpdatesSent, const std::vector< DtU32 > &interactionBytesSent)
 
virtual void sendNetStatsStringUpdate (const std::vector< DtU32 > &objectClassHandles, const std::vector< MAKRti::DtString > &objectClassNames, const std::vector< DtU32 > &interactionClassHandles, const std::vector< MAKRti::DtString > &interactionClassNames)
 
virtual void sendNetStatsAttrStringUpdate (const std::vector< MAKRti::DtU32 > &objectClassHandles, const std::vector< MAKRti::DtU32 > &attributeHandles, const std::vector< MAKRti::DtString > &attributeNames, const std::vector< MAKRti::DtU32 > &parentClassHandles, const std::vector< MAKRti::DtU32 > &totalObjHandles)
 
void sendNetStatsParamStringUpdate (const std::vector< MAKRti::DtU32 > &interClassHandles, const std::vector< MAKRti::DtU32 > &parameterHandles, const std::vector< MAKRti::DtString > &parameterNames, const std::vector< MAKRti::DtU32 > &parentInterHandles, const std::vector< MAKRti::DtU32 > &totalInterHandles)
 
virtual void sendNetStatsAttrParamStringUpdate (const std::vector< MAKRti::DtU32 > &objectClassHandles, const std::vector< MAKRti::DtU32 > &attributeHandles, const std::vector< MAKRti::DtString > &attributeNames, const std::vector< MAKRti::DtU32 > &parentClassHandles, const std::vector< MAKRti::DtU32 > &totalObjHandles, DtAssistantHandleType objInterType, DtAssistantHandleType attrParamType, DtAssistantHandleType parentClassType)
 
virtual void sendNetStatsFomAttrParamUpdate (DtAssistantHandleType handleType, bool isInit, const std::vector< MAKRti::DtU32 > &objectClassHandles, const std::vector< MAKRti::DtU32 > &attributeHandles, const std::vector< bool > &attributePub, const std::vector< bool > &attributeSub, const std::vector< DtTransportType > &attributeTransport, const std::vector< DtOrderType > &attributeOrder, const std::vector< bool > &objectPub, const std::vector< bool > &objectSub, const std::vector< MAKRti::DtU32 > &objPubSubHandles)
 
virtual void sendObjectInstanceNetStatsStringUpdate (const std::vector< DtU32 > &objectInstanceHandles, const std::vector< MAKRti::DtString > &objectInstanceNames)
 
virtual void sendObjectInstanceNetStatsUpdate (DtFloat64 absTime, const std::vector< DtU32 > &objectInstanceHandles, const std::vector< DtU32 > &objectClassHandles, const std::vector< DtU32 > &objectUpdatesReceived, const std::vector< DtU32 > &objectBytesReceived, const std::vector< DtU32 > &objectUpdatesSent, const std::vector< DtU32 > &objectBytesSent)
 
virtual void sendFomTreeData (const std::vector< MAKRti::DtU32 > &objectClassHandles, const std::vector< MAKRti::DtU32 > &parentObjectClassHandles, const std::vector< MAKRti::DtString > &objectClassNames, const std::vector< MAKRti::DtU32 > &interactionClassHandles, const std::vector< MAKRti::DtU32 > &parentInteractionClassHandles, const std::vector< MAKRti::DtString > &interactionClassNames)
 
virtual void sendFomUpdate (const std::vector< MAKRti::DtU32 > &objectClassHandles, const std::vector< MAKRti::DtU32 > &attributeHandles, const std::vector< bool > &attributePub, const std::vector< bool > &attributeSub, const std::vector< DtTransportType > &attributeTransport, const std::vector< DtOrderType > &attributeOrder, DtAssistantHandleType handleType, DtFloat64 absTime, bool isFullUpdate)
 
- Public Member Functions inherited from DtRtiAssistantClient
 DtRtiAssistantClient (DtAssistantComponentType type, int port=DtASSISTANT_DEFAULT_PORT)
 Constructor. More...
 
virtual ~DtRtiAssistantClient ()
 Destructor. More...
 
virtual bool tick (unsigned int timeout=0)
 Do the actual message processing. More...
 
virtual bool isConnected ()
 Returns true if the socket is connected. More...
 
virtual bool isDisabled ()
 Returns true if the socket is disabled. More...
 
virtual void addMsgCallback (DtAssistantMsgKind msgKind, DtAssistantMsgCbMgr::DtCallbackFcn fcn, void *usr)
 Message Callbacks These callback functions operate on all of the connections. More...
 
virtual void removeMsgCallback (DtAssistantMsgKind msgKind, DtAssistantMsgCbMgr::DtCallbackFcn fcn, void *usr)
 
virtual void addWildcardMsgCallback (DtAssistantMsgCbMgr::DtCallbackFcn fcn, void *usr)
 
virtual void removeWildcardMsgCallback (DtAssistantMsgCbMgr::DtCallbackFcn fcn, void *usr)
 
virtual void addDisconnectCallback (DtAssistantDisconnectCb cb, void *usr)
 These functions add callbacks for notification of a socket disconnect. More...
 
virtual void removeDisconnectCallback (DtAssistantDisconnectCb cb, void *usr)
 
virtual bool sendLRCConnQueryMsg (bool error, MAKRti::DtString &connectionName, bool &ridIsPreconfigured, MAKRti::DtString &ridConfig, MAKRti::DtInetAddr &tcpAddr, int &tcpPort, MAKRti::DtInetAddr &tcpIntf, MAKRti::DtInetAddr &udpAddr, int &udpPort, MAKRti::DtInetAddr &udpIntf, int &forwarderPort, bool &useRtiexec, bool &forceFullCompliance)
 Send a message querying for the connection parameters. More...
 
virtual bool sendForwardingComponentConnQueryMsg (bool error, MAKRti::DtString &connectionName, bool &ridIsPreconfigured, MAKRti::DtString &ridConfig, MAKRti::DtInetAddr &tcpAddr, int &tcpPort, MAKRti::DtInetAddr &tcpIntf, MAKRti::DtInetAddr &udpAddr, int &udpPort, MAKRti::DtInetAddr &udpIntf, MAKRti::DtInetAddr &forwarderToConnectTo, int &forwarderPort, bool &forceFullCompliance)
 Send a message querying for the rtiexec connection parameters. More...
 
virtual void sendLatencyTestMsg (const DtAssistantLatencyReportMsg &msg)
 Send a message to the assistant with latency test measurements. More...
 
virtual void sendLatencyTestStatusMsg (const DtAssistantTestMgrStatusMsg &msg)
 Send an updated latency test status message to the assistant. More...
 
virtual bool getNewLicenseServerFromAssistant (bool allowUnlicensed, bool &runUnlicensed, MAKRti::DtString &serverName, const MAKRti::DtString &featToCheck)
 Send a message to the assistant to query the user for an alternate license server. More...
 
virtual void sendNotifyMsg (const MAKRti::DtString &text, DtNotifyLevelType notifyLevel)
 Send a message to display a pop up notification above the tray icon. More...
 
virtual void sendSignalTickedMsg ()
 Send a signal ticked message to the assistant. More...
 
virtual void sendDialogBoxMsg (const MAKRti::DtString &text, const MAKRti::DtString &advancedText)
 Send a message to display a dialog notification. More...
 
virtual void sendClose ()
 Send connection closed message to Assistant. More...
 
virtual void sendRidParamsMsg (const MAKRti::DtString &params, const MAKRti::DtFilename &filename, const MAKRti::DtString &federation=MAKRti::DtString::nullString(), unsigned federateHdl=0)
 Send the RID parameters. More...
 
virtual void setMsgFactory (DtAssistantMessageFactory *fact)
 Get/Set the message factory. More...
 
virtual DtAssistantMessageFactorymsgFactory () const
 
virtual void shutDownConnection (const char *reason)
 AssistantClientOwner should call this function with the shutdown reason when the Assistant instructs it to shut down (e.g. More...
 
virtual MAKRti::DtString getProcessName () const
 get the process name More...
 
virtual int getPID () const
 get the PID More...
 
virtual MAKRti::DtString getCommandArgs () const
 get the command args More...
 
bool testConnectionStatus ()
 test the connection More...
 
virtual int componentId () const
 Returns the component ID assigned by the assistant. More...
 

Protected Attributes

MAKRti::DtString myName
 The name the Assistant uses to identify this LRC. More...
 
unsigned long myFedHandle
 This LRC's federate handle. More...
 
unsigned long myFederationHandle
 This LRC's federation handle. More...
 
MAKRti::DtString myFederationName
 This LRC's federation name. More...
 
MAKRti::DtFilename myLogFile
 The name and full path of the log file. More...
 
MAKRti::DtString myLicServer
 The license server used by this LRC. More...
 
bool isNetStatsEnabled
 
MAKRti::DtInetAddr myTcpAddress
 The RTI TCP IP address (used for reliable communication). More...
 
MAKRti::DtInetAddr myTcpInterface
 The address of the network interface being used for UDP. More...
 
MAKRti::DtInetAddr myUdpAddr
 The RTI UDP IP address (used for best effort communication). More...
 
MAKRti::DtInetAddr myUdpInterface
 The address of the network interface being used for UDP. More...
 
int myUdpPort
 The RTI UDP port. More...
 
int myTcpPort
 The RTI TCP port. More...
 
bool myUseRtiexec
 Whether use of an rtiexec is enabled. More...
 
bool myFullCompliance
 Whether full compliance is enabled. More...
 
int myForwarderPort
 The port the forwarder uses to connect to other forwarders. More...
 
MAKRti::DtString myFederateName
 The federate name. More...
 
DtHlaVersionId myHlaVersion
 The federate's HLA version. More...
 
- Protected Attributes inherited from DtRtiAssistantClient
bool myAssistantDisabled
 Set to true if the Assistant is disabled. More...
 
MAKRti::DtInetAddr myAssistantAddr
 The IP address of the Assistant. More...
 
unsigned int myAssistantPort
 The port on which the RTI Assistant listens for connections. More...
 
DtTcpMsgSocketmySocket
 The socket to the RTI Assistant. More...
 
bool myCreateIfConnectFails
 Indicates whether an Assistant should be created if a connection cannot be established. More...
 
DtAssistantConnectionStatus myConnStatus
 The current connection status. More...
 
bool myInitializingConnection
 Is connection being initialized. More...
 
MAKRti::DtU32 mySockOpts
 The socket options to be used when connecting to the Assistant. More...
 
DtAssistantMessageFactorymyMessageFactory
 The message factory. More...
 
DtAssistantDfltMsgFactory myDefaultMessageFactory
 Default message factory. More...
 
DtAssistantComponentType myComponentType
 The component type. (LRC, rtiexec, etc.) More...
 
MAKRti::DtClock myClock
 Clock for timeouts. More...
 
MAKRti::DtTime myConnTestInterval
 Interval at which connection should be tested. More...
 
MAKRti::DtTime myTimeToTestConnection
 Next time to test connection. More...
 
DtAssistantMsgCbMgr myMsgCbMgr
 Message callback manager. More...
 
DtUniquePtr< DtAssistantMsgmyRespMsg
 The last response message to be received. More...
 
std::list
< DtAssistantDisconnectCbInfo * > 
myDisconnectCallbacks
 Lists of pointers to socket disconnect callbacks. More...
 
MAKRti::DtMutex * mySocketMutex
 locks access to the socket connection. More...
 
const char * myShouldShutdown
 should be set with reason string when assistant exit msg has been received. More...
 
int myNumFailedAssistantConnects
 How many assistant restarts have we attempted. More...
 
int myNumSuccessfulAssistantConnects
 How many assistant reconnects occurred. More...
 
int myPID
 the Process ID ( PID ) More...
 
MAKRti::DtString myProcessName
 the Process Name More...
 
MAKRti::DtString myCommandArgs
 the command line arguments More...
 
int myAssistantCompId
 The assistant assigned component ID. More...
 
unsigned long mySequence
 Message sequence number. More...
 

Additional Inherited Members

- Protected Member Functions inherited from DtRtiAssistantClient
virtual bool initialize ()
 Attempts to connect to the RTI Assistant. More...
 
virtual DtAssistantConnectionStatus connectToAssistant ()
 Attempt to open a connection and handshake with the Assistant. More...
 
virtual DtAssistantConnectionStatus makeSingleConnectionAttempt ()
 
virtual bool startAssistant ()
 Attempt to start a new Assistant. More...
 
virtual bool readAndProcess (MAKRti::DtTime maxTime)
 Read and process any messages on the socket for up to the maxTime. More...
 
virtual bool sendMsg (const DtAssistantMsg &msg)
 Send a message to the RTI Assistant. More...
 
virtual DtAssistantMsgsendMsgAndWait (const DtAssistantMsg &msg, DtAssistantMsgKind respKind, unsigned int waitSecs=0)
 Send a message to the RTI Assistant and wait for response of the specified kind. More...
 
virtual DtAssistantConnectionStatus sendConnectMsg ()
 Send basic component information to the Assistant for a new connection. More...
 
virtual void processRespMsg (const DtAssistantMsg &respMsg)
 
virtual void processNtfyLvlUpdateMsg (const DtAssistantNtfyLvlUpdateMsg &updateMsg)
 
virtual void processAssistantExitMsg (const DtAssistantExitMsg &inter)
 
virtual void processDisconnect ()
 Process Assistant socket disconnect. More...
 
virtual DtUniquePtr
< DtAssistantMsg
netRead (int *retCode) const
 Attempt to read a new message from the socket. More...
 
virtual bool sendLicQueryMsg (bool allowUnlicensed, bool &runUnlicensed, MAKRti::DtString &licServer)
 Send a message querying for the license server. More...
 
- Static Protected Member Functions inherited from DtRtiAssistantClient
static void processRespMsg (const DtAssistantMsg &respMsg, void *usr)
 Response message callback. More...
 
static void processNtfyLvlUpdateMsg (const DtAssistantNtfyLvlUpdateMsg &updateMsg, void *usr)
 Notify level update message callback. More...
 
static void processAssistantExitMsg (const DtAssistantExitMsg &inter, void *usr)
 Process the assistant exit message. The assistant is commanding us to exit. More...
 
- Static Protected Attributes inherited from DtRtiAssistantClient
static const int theMaxNumberOfAssistantConnectAttempts
 either starting up or reconnecting, how many assistant restarts do we tolerate before giving up. More...
 
static const MAKRti::DtTime theSleepBetweenAssistantConnectAttempts
 When attempting to connect, this is the number of seconds. More...
 
static const MAKRti::DtInetAddr theFirstHostInetAddr
 The first InetAddr when the federate was launched. More...
 

Detailed Description

The client connection to the RTI Assistant for an LRC.

DtRtiAssistantLrcClient manages the client connection of an LRC to the RTI Assistant. Provides routines to create and send messages to the Assistant.

Constructor & Destructor Documentation

DtRtiAssistantLrcClient::DtRtiAssistantLrcClient ( int  port = 0)
virtual DtRtiAssistantLrcClient::~DtRtiAssistantLrcClient ( )
virtual

Member Function Documentation

virtual void DtRtiAssistantLrcClient::sendClientInfo ( )
virtual

Sends the stored LRC information to the Assistant.

Reimplemented from DtRtiAssistantClient.

virtual void DtRtiAssistantLrcClient::sendFomTreeData ( const std::vector< MAKRti::DtU32 > &  objectClassHandles,
const std::vector< MAKRti::DtU32 > &  parentObjectClassHandles,
const std::vector< MAKRti::DtString > &  objectClassNames,
const std::vector< MAKRti::DtU32 > &  interactionClassHandles,
const std::vector< MAKRti::DtU32 > &  parentInteractionClassHandles,
const std::vector< MAKRti::DtString > &  interactionClassNames 
)
virtual
virtual void DtRtiAssistantLrcClient::sendFomUpdate ( const std::vector< MAKRti::DtU32 > &  objectClassHandles,
const std::vector< MAKRti::DtU32 > &  attributeHandles,
const std::vector< bool > &  attributePub,
const std::vector< bool > &  attributeSub,
const std::vector< DtTransportType > &  attributeTransport,
const std::vector< DtOrderType > &  attributeOrder,
DtAssistantHandleType  handleType,
DtFloat64  absTime,
bool  isFullUpdate 
)
virtual
virtual void DtRtiAssistantLrcClient::sendNetStatsAttrParamStringUpdate ( const std::vector< MAKRti::DtU32 > &  objectClassHandles,
const std::vector< MAKRti::DtU32 > &  attributeHandles,
const std::vector< MAKRti::DtString > &  attributeNames,
const std::vector< MAKRti::DtU32 > &  parentClassHandles,
const std::vector< MAKRti::DtU32 > &  totalObjHandles,
DtAssistantHandleType  objInterType,
DtAssistantHandleType  attrParamType,
DtAssistantHandleType  parentClassType 
)
virtual
virtual void DtRtiAssistantLrcClient::sendNetStatsAttrStringUpdate ( const std::vector< MAKRti::DtU32 > &  objectClassHandles,
const std::vector< MAKRti::DtU32 > &  attributeHandles,
const std::vector< MAKRti::DtString > &  attributeNames,
const std::vector< MAKRti::DtU32 > &  parentClassHandles,
const std::vector< MAKRti::DtU32 > &  totalObjHandles 
)
virtual
virtual void DtRtiAssistantLrcClient::sendNetStatsFomAttrParamUpdate ( DtAssistantHandleType  handleType,
bool  isInit,
const std::vector< MAKRti::DtU32 > &  objectClassHandles,
const std::vector< MAKRti::DtU32 > &  attributeHandles,
const std::vector< bool > &  attributePub,
const std::vector< bool > &  attributeSub,
const std::vector< DtTransportType > &  attributeTransport,
const std::vector< DtOrderType > &  attributeOrder,
const std::vector< bool > &  objectPub,
const std::vector< bool > &  objectSub,
const std::vector< MAKRti::DtU32 > &  objPubSubHandles 
)
virtual
void DtRtiAssistantLrcClient::sendNetStatsParamStringUpdate ( const std::vector< MAKRti::DtU32 > &  interClassHandles,
const std::vector< MAKRti::DtU32 > &  parameterHandles,
const std::vector< MAKRti::DtString > &  parameterNames,
const std::vector< MAKRti::DtU32 > &  parentInterHandles,
const std::vector< MAKRti::DtU32 > &  totalInterHandles 
)
virtual void DtRtiAssistantLrcClient::sendNetStatsStringUpdate ( const std::vector< DtU32 > &  objectClassHandles,
const std::vector< MAKRti::DtString > &  objectClassNames,
const std::vector< DtU32 > &  interactionClassHandles,
const std::vector< MAKRti::DtString > &  interactionClassNames 
)
virtual
virtual void DtRtiAssistantLrcClient::sendNetStatsUpdate ( DtFloat64  absTime,
const std::vector< DtRtiAmbAPIType > &  rtiAmbTypes,
const std::vector< DtU32 > &  rtiAmbNumCalls,
const std::vector< DtFloat64 > &  rtiAmbTotalTime,
const std::vector< DtFloat64 > &  rtiAmbAvgTime,
const std::vector< DtFloat64 > &  rtiAmbMinTime,
const std::vector< DtFloat64 > &  rtiAmbMaxTime,
const std::vector< DtFedAmbAPIType > &  fedAmbTypes,
const std::vector< DtU32 > &  fedAmbNumCalls,
const std::vector< DtFloat64 > &  fedAmbTotalTime,
const std::vector< DtFloat64 > &  fedAmbAvgTime,
const std::vector< DtFloat64 > &  fedAmbMinTime,
const std::vector< DtFloat64 > &  fedAmbMaxTime,
const std::vector< DtRtiMsgKind > &  msgKinds,
const std::vector< DtU32 > &  msgNumSent,
const std::vector< DtU32 > &  msgNumReceived,
const std::vector< DtU32 > &  msgBytesSent,
const std::vector< DtU32 > &  msgBytesReceived,
const std::vector< DtU32 > &  interactionClassHandles,
const std::vector< DtU32 > &  interactionUpdatesReceived,
const std::vector< DtU32 > &  interactionBytesReceived,
const std::vector< DtU32 > &  interactionUpdatesSent,
const std::vector< DtU32 > &  interactionBytesSent 
)
virtual
virtual void DtRtiAssistantLrcClient::sendObjectInstanceNetStatsStringUpdate ( const std::vector< DtU32 > &  objectInstanceHandles,
const std::vector< MAKRti::DtString > &  objectInstanceNames 
)
virtual
virtual void DtRtiAssistantLrcClient::sendObjectInstanceNetStatsUpdate ( DtFloat64  absTime,
const std::vector< DtU32 > &  objectInstanceHandles,
const std::vector< DtU32 > &  objectClassHandles,
const std::vector< DtU32 > &  objectUpdatesReceived,
const std::vector< DtU32 > &  objectBytesReceived,
const std::vector< DtU32 > &  objectUpdatesSent,
const std::vector< DtU32 > &  objectBytesSent 
)
virtual
virtual void DtRtiAssistantLrcClient::updateConnInfo ( const MAKRti::DtInetAddr &  tcpAddr,
int  tcpPort,
const MAKRti::DtInetAddr &  tcpIntf,
const MAKRti::DtInetAddr &  udpAddr,
int  udpPort,
const MAKRti::DtInetAddr &  udpIntf,
int  forwarderPort,
bool  useRtiexec,
bool  fullCompliance 
)
virtual

Updates the information on this LRC's RTI connection.

Note that this method does not send the message to the assistant, just stores the name to be sent when sendClientInfo is called.

virtual void DtRtiAssistantLrcClient::updateFederateName ( const MAKRti::DtString &  fedName)
virtual

Updates the federate name used by the assistant.

Note that this method does not send the message to the assistant, just stores the name to be send when sendClientInfo is called.

virtual void DtRtiAssistantLrcClient::updateFederationInfo ( unsigned long  federationHandle,
const MAKRti::DtString &  federationName,
unsigned long  fedHandle,
DtHlaVersionId  hlaVersion 
)
virtual

Updates the federation name and federate handle used by the Assistant to help identify this LRC.

Note that this method does not send the message to the assistant, just stores the name to be sent when sendClientInfo is called.

virtual void DtRtiAssistantLrcClient::updateLicenseServer ( const MAKRti::DtString &  server)
virtual

Updates the license server used by this LRC.

Used by the Assistant to help other LRCs locate a license. Note that this method does not send the message to the assistant, just stores the name to be sent when sendClientInfo is called.

virtual void DtRtiAssistantLrcClient::updateLrcLogFile ( const MAKRti::DtFilename &  file)
virtual

Updates the log file name used by this LRC.

This is sent to the Assistant so that it may display the log to interested users. Note that this method does not send the message to the assistant, just stores the name to be sent when sendClientInfo is called.

virtual void DtRtiAssistantLrcClient::updateLrcName ( const MAKRti::DtString &  name)
virtual

Updates the name used by the Assistant to identify this LRC.

Note that this method does not send the message to the assistant, just stores the name to be sent when sendClientInfo is called.

virtual void DtRtiAssistantLrcClient::updateNetStats ( bool  enabled)
virtual

Member Data Documentation

bool DtRtiAssistantLrcClient::isNetStatsEnabled
protected
MAKRti::DtString DtRtiAssistantLrcClient::myFederateName
protected

The federate name.

unsigned long DtRtiAssistantLrcClient::myFederationHandle
protected

This LRC's federation handle.

MAKRti::DtString DtRtiAssistantLrcClient::myFederationName
protected

This LRC's federation name.

unsigned long DtRtiAssistantLrcClient::myFedHandle
protected

This LRC's federate handle.

int DtRtiAssistantLrcClient::myForwarderPort
protected

The port the forwarder uses to connect to other forwarders.

bool DtRtiAssistantLrcClient::myFullCompliance
protected

Whether full compliance is enabled.

DtHlaVersionId DtRtiAssistantLrcClient::myHlaVersion
protected

The federate's HLA version.

MAKRti::DtString DtRtiAssistantLrcClient::myLicServer
protected

The license server used by this LRC.

MAKRti::DtFilename DtRtiAssistantLrcClient::myLogFile
protected

The name and full path of the log file.

MAKRti::DtString DtRtiAssistantLrcClient::myName
protected

The name the Assistant uses to identify this LRC.

MAKRti::DtInetAddr DtRtiAssistantLrcClient::myTcpAddress
protected

The RTI TCP IP address (used for reliable communication).

MAKRti::DtInetAddr DtRtiAssistantLrcClient::myTcpInterface
protected

The address of the network interface being used for UDP.

int DtRtiAssistantLrcClient::myTcpPort
protected

The RTI TCP port.

MAKRti::DtInetAddr DtRtiAssistantLrcClient::myUdpAddr
protected

The RTI UDP IP address (used for best effort communication).

MAKRti::DtInetAddr DtRtiAssistantLrcClient::myUdpInterface
protected

The address of the network interface being used for UDP.

int DtRtiAssistantLrcClient::myUdpPort
protected

The RTI UDP port.

bool DtRtiAssistantLrcClient::myUseRtiexec
protected

Whether use of an rtiexec is enabled.


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

Document ID: Generated on Sun Jul 20 16:15:30 EDT 2025 from SVN revision 277985
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)