|
| | 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 > ¶meterHandles, const std::vector< MAKRti::DtString > ¶meterNames, 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) |
| |
| | 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 ¶ms, 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 DtAssistantMessageFactory * | msgFactory () 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...
|
| |
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.