![]() |
MAK RTIspy API Documentation for HLA 1.3
|
Stores the information on an RTI connection and possibly matching configuration known by the Assistant. More...
Collaboration diagram for DtRtiConnectionAndConfiguration:Public Types | |
| typedef std::map < DtRtiConnectionInfo, DtRtiConnectionConfigurationInfo > | DtRtiConnAndConfigMap |
Public Member Functions | |
| DtRtiConnectionAndConfiguration () | |
| DtRtiConnectionAndConfiguration (const DtRtiConnectionAndConfiguration &) | |
| ~DtRtiConnectionAndConfiguration () | |
| virtual DtRtiConnectionAndConfiguration & | operator= (const DtRtiConnectionAndConfiguration &orig) |
| virtual bool | operator< (const DtRtiConnectionAndConfiguration &other) const |
| virtual bool | operator== (const DtRtiConnectionAndConfiguration &other) const |
| virtual bool | operator!= (const DtRtiConnectionAndConfiguration &other) const |
| virtual unsigned int | size () const |
| virtual bool | addConfiguration (const DtRtiConfigurationInfoDataPair &config) |
| If config is unknown store it and return whether it was stored. | |
| virtual bool | removeConfiguration (const DtRtiConnectionConfigurationInfo &config) |
| If config is known, remove it and return whether it was removed. | |
| virtual bool | addConnection (const DtRtiConnectionInfoDataPair &conn) |
| If connection is unknown store it and return whether it was stored. | |
| virtual bool | removeConnection (const DtRtiConnectionInfo &conn) |
| If connection is known, remove it and return whether it was removed. | |
| virtual bool | updateConnection (DtRtiConnectionInfoDataPair &conn) |
| Update the existing connection with with the new associated data as well as ensuring that both conn and the stored connection have the most complete host information. | |
| virtual bool | updateConnectionAssociatedDataOnly (DtRtiConnectionInfoDataPair &conn) |
| Update the existing connection with with the new associated data as well as ensuring that the passed in conn has the most complete host info. | |
| virtual bool | updateConfiguration (const DtRtiConfigurationInfoDataPair &config) |
| Replace the existing configuration with the new associated data. | |
| virtual void | setConnectionConfigMapping (const DtRtiConnectionInfo &conn, const DtRtiConnectionConfigurationInfo &config) |
| Add or changes the configuration that is mapped to the connection. | |
| virtual void | removeConnectionConfigMapping (const DtRtiConnectionInfo &conn) |
| Remove mapping between a connection and its configuration. | |
| virtual bool | findConfigMapping (const DtRtiConnectionInfo &conn, DtRtiConfigurationInfoDataPair &config) const |
| Find the configuration associated with the given connection. | |
| virtual bool | willConflict (const DtRtiConnectionInfo &compare, MAKRti::DtString &reason) const |
| Determines if there are any active connections in this list that will conflict with the given one. | |
| virtual bool | nameAndOwnerExists (const MAKRti::DtString &name, const MAKRti::DtString &owner) const |
| Checks the list to see if a connection with this name and owning host name is present, and returns true if it is. | |
| virtual int | numberOfEntriesWithName (const MAKRti::DtString &name) const |
| Returns the number of entries with the given name. | |
| virtual bool | findConnectionWithMatchingNameAndOwner (DtRtiConnectionInfoDataPair &conn) |
| Finds the connection with the matching name and owner with the given one. | |
| virtual void | clearAllInfo () |
| Clears all connections, configurations, and mappings. | |
| virtual bool | findConnection (DtRtiConnectionInfoDataPair &conn) const |
| Find the first connection that's compatible with conn. | |
| virtual bool | findConfiguration (DtRtiConfigurationInfoDataPair &config) const |
| Find the first configuration that's compatible. | |
| virtual void | clearAllSaved () |
| For all connections set their saved status to false (if they're either verified or forwarderVerified). | |
| virtual bool | getChosenConnAndConfig (DtRtiConnectionInfoDataPair &conn, DtRtiConfigurationInfoDataPair &config) |
| Retrieves the chosen connection and configuration, or returns false if nothing has been chosen. | |
| virtual const DtRtiConnectionInfoDataMap & | connections () const |
| Returns the full set of connections. | |
| virtual const DtRtiConfigurationInfoDataMap & | configs () const |
| Returns the full set of configurations. | |
| virtual const DtRtiConnAndConfigMap & | connToConfigMap () const |
| Returns the full set of configurations. | |
Protected Types | |
| typedef std::map< std::pair < MAKRti::DtString, MAKRti::DtString > , DtRtiConnectionInfoDataMap::iterator > | DtNameAndOwnerMap |
Protected Member Functions | |
| void | removeChosenDesignation () |
| Removes the current chosen designation. | |
| void | setChosenConfigurationFromConnection () |
| Sets the chosen configuration based on the current chosen connection. | |
Protected Attributes | |
| DtRtiConnAndConfigMap | myConnsAndConfigs |
| DtRtiConnectionInfoDataMap | myConns |
| DtRtiConfigurationInfoDataMap | myConfigs |
| DtNameAndOwnerMap | myConnNames |
| DtRtiConnectionInfoDataMap::iterator | myChosenConnection |
| DtRtiConfigurationInfoDataMap::iterator | myChosenConfiguration |
| bool | myConnectionIsChosen |
| bool | myConfigurationIsChosen |
Stores the information on an RTI connection and possibly matching configuration known by the Assistant.
typedef std::map<std::pair<MAKRti::DtString,MAKRti::DtString>, DtRtiConnectionInfoDataMap::iterator> DtRtiConnectionAndConfiguration::DtNameAndOwnerMap [protected] |
| typedef std::map<DtRtiConnectionInfo, DtRtiConnectionConfigurationInfo> DtRtiConnectionAndConfiguration::DtRtiConnAndConfigMap |
References myChosenConfiguration, myChosenConnection, myConfigs, and myConns.
| bool DtRtiConnectionAndConfiguration::addConfiguration | ( | const DtRtiConfigurationInfoDataPair & | config | ) | [virtual] |
If config is unknown store it and return whether it was stored.
References myConfigs.
Referenced by DtAssistantConnectionInfoMgr::addListedRtiexecsForwardersForAssistant(), DtConnectionCache::getConfigurationsFromEnv(), DtAssistantLightweightInfoMsg::getLightweightConns(), DtAssistantInfoMsg::getRtiexecsAndForwarders(), DtAssistantConnectionInfoMgr::processClearChosenConnection(), DtAssistantConnectionInfoMgr::processLightweightInfoMsg(), DtAssistantConnectionInfoMgr::processLocalForwarderHasNoRtiexec(), DtAssistantConnectionInfoMgr::processLocalForwarderHasRtiexec(), DtAssistantConnectionInfoMgr::processLocalRtiComponentConnected(), DtAssistantConnectionInfoMgr::processLocalRtiComponentNotConnected(), DtAssistantConnectionInfoMgr::processNewChosenConnection(), DtAssistantConnectionInfoMgr::pruneStaleAssistantsExecsFwrdrs(), DtAssistantConnectionInfoMgr::pruneStaleLightweightConns(), DtAssistantConnectionInfoMgr::removeAllLocalRtiexecsForwarders(), DtRtiAssistantPeer::sendLightweightInfoMsg(), DtAssistantConnectionInfoMgr::setInterfaceForPredefinedConns(), DtAssistantConnectionInfoMgr::unverifyListedRtiexecsForwardersForAssistant(), and DtAssistantConnectionInfoMgr::unverifyRtiexecsForwardersForAssistant().
| bool DtRtiConnectionAndConfiguration::addConnection | ( | const DtRtiConnectionInfoDataPair & | conn | ) | [virtual] |
If connection is unknown store it and return whether it was stored.
References myChosenConnection, myConnectionIsChosen, myConnNames, myConns, and removeChosenDesignation().
Referenced by DtAssistantConnectionInfoMgr::addListedRtiexecsForwardersForAssistant(), DtAssistantConnectionInfoMgr::addUserDefinedConnections(), DtAssistantConnectionInfoMgr::checkForConflictingConns(), DtAssistantConnQueryMgr::checkForConflictingUnsavedConns(), DtConnectionCache::getLightweightConnectionsFromEnv(), DtAssistantLightweightInfoMsg::getLightweightConns(), DtConnectionCache::getRtiexecConnectionsFromEnv(), DtAssistantInfoMsg::getRtiexecsAndForwarders(), DtAssistantConnectionInfoMgr::processClearChosenConnection(), DtAssistantConnectionInfoMgr::processLightweightInfoMsg(), DtAssistantConnectionInfoMgr::processLocalForwarderHasNoRtiexec(), DtAssistantConnectionInfoMgr::processLocalForwarderHasRtiexec(), DtAssistantConnectionInfoMgr::processLocalRtiComponentConnected(), DtAssistantConnectionInfoMgr::processLocalRtiComponentNotConnected(), DtAssistantConnectionInfoMgr::processNewChosenConnection(), DtAssistantConnQueryMgr::processNewUserAddedConnection(), DtAssistantConnectionInfoMgr::processStartRtiexecMsg(), DtAssistantConnectionInfoMgr::pruneStaleAssistantsExecsFwrdrs(), DtAssistantConnectionInfoMgr::pruneStaleLightweightConns(), DtAssistantConnectionInfoMgr::removeAllLocalRtiexecsForwarders(), DtAssistantConnectionInfoMgr::removeUserDeletedConnections(), DtRtiAssistantPeer::sendLightweightInfoMsg(), DtAssistantConnectionInfoMgr::setInterfaceForPredefinedConns(), DtAssistantConnQueryMgr::startRtiexec(), DtAssistantConnQueryWidget::storeUserAddedConnection(), DtAssistantConnQueryWidget::storeUserRemovedConnection(), DtAssistantConnectionInfoMgr::unverifyListedRtiexecsForwardersForAssistant(), and DtAssistantConnectionInfoMgr::unverifyRtiexecsForwardersForAssistant().
| void DtRtiConnectionAndConfiguration::clearAllInfo | ( | ) | [virtual] |
Clears all connections, configurations, and mappings.
References myConfigs, myConfigurationIsChosen, myConnectionIsChosen, myConnNames, myConns, and myConnsAndConfigs.
Referenced by DtAssistantConnQueryWidget::clearUserAddedAndRemoved(), and DtAssistantConnectionInfoMgr::heartbeatAssistant().
| void DtRtiConnectionAndConfiguration::clearAllSaved | ( | ) | [virtual] |
For all connections set their saved status to false (if they're either verified or forwarderVerified).
References myConfigurationIsChosen, myConnectionIsChosen, myConns, and myConnsAndConfigs.
| virtual const DtRtiConfigurationInfoDataMap& DtRtiConnectionAndConfiguration::configs | ( | ) | const [inline, virtual] |
Returns the full set of configurations.
Referenced by DtRtiConnectionAndConfiguration(), operator<(), operator=(), operator==(), and DtConnectionCache::setConnections().
| virtual const DtRtiConnectionInfoDataMap& DtRtiConnectionAndConfiguration::connections | ( | ) | const [inline, virtual] |
Returns the full set of connections.
Referenced by DtAssistantConnQueryWidget::addConnections(), DtAssistantConnectionInfoMgr::addListedRtiexecsForwardersForAssistant(), DtAssistantConnectionInfoMgr::addUserDefinedConnections(), DtAssistantConnectionInfoMgr::checkForConflictingConns(), DtAssistantConnQueryMgr::checkForConflictingUnsavedConns(), DtRtiConnectionAndConfiguration(), DtConnectionCache::getConfigurationsFromEnv(), operator<(), operator=(), operator==(), DtAssistantLatencyTestMgr::processConnectionsRemoval(), DtAssistantNetworkCompInfoMgr::processConnectionsRemoval(), DtAssistantFederationsViewMgr::processConnectionsRemoval(), DtAssistantFederationsInfoMgr::processConnectionsRemoval(), DtAssistantLatencyTestMgr::processConnectionsUpdate(), DtAssistantNetworkCompInfoMgr::processConnectionsUpdate(), DtAssistantFederationsViewMgr::processConnectionsUpdate(), DtAssistantFederationsInfoMgr::processConnectionsUpdate(), DtAssistantConnectionInfoMgr::processLightweightInfoMsg(), DtAssistantConnectionInfoMgr::pruneStaleAssistantsExecsFwrdrs(), DtAssistantConnectionInfoMgr::pruneStaleLightweightConns(), DtAssistantConnectionInfoMgr::removeAllLocalLightweightConns(), DtAssistantConnectionInfoMgr::removeAllLocalRtiexecsForwarders(), DtAssistantConnQueryWidget::removeConnections(), DtAssistantConnectionInfoMgr::removeConnections(), DtAssistantConnectionInfoMgr::removeUserDeletedConnections(), DtRtiAssistantPeer::sendInfoMsg(), DtRtiAssistantPeer::sendLightweightInfoMsg(), DtConnectionCache::setConnections(), DtAssistantConnectionInfoMgr::setInterfaceForPredefinedConns(), DtAssistantLightweightInfoMsg::setLightweightConns(), DtAssistantInfoMsg::setRtiexecsAndForwarders(), and DtAssistantConnectionInfoMgr::unverifyListedRtiexecsForwardersForAssistant().
| virtual const DtRtiConnAndConfigMap& DtRtiConnectionAndConfiguration::connToConfigMap | ( | ) | const [inline, virtual] |
Returns the full set of configurations.
Referenced by DtRtiConnectionAndConfiguration(), operator<(), operator=(), and operator==().
| bool DtRtiConnectionAndConfiguration::findConfigMapping | ( | const DtRtiConnectionInfo & | conn, |
| DtRtiConfigurationInfoDataPair & | config | ||
| ) | const [virtual] |
Find the configuration associated with the given connection.
References findConfiguration(), and myConnsAndConfigs.
Referenced by DtAssistantConnQueryWidget::addConnections(), DtAssistantConnectionInfoMgr::addListedRtiexecsForwardersForAssistant(), DtAssistantConnectionInfoMgr::getConfigurationForConn(), DtAssistantConnectionInfoMgr::processLightweightInfoMsg(), DtAssistantConnectionInfoMgr::processLocalForwarderHasNoRtiexec(), DtAssistantConnectionInfoMgr::processLocalRtiComponentNotConnected(), DtAssistantConnectionInfoMgr::pruneStaleAssistantsExecsFwrdrs(), DtAssistantConnectionInfoMgr::removeAllLocalRtiexecsForwarders(), DtRtiAssistantPeer::sendInfoMsg(), DtRtiAssistantPeer::sendLightweightInfoMsg(), DtAssistantConnectionInfoMgr::setInterfaceForPredefinedConns(), DtAssistantInfoMsg::setRtiexecsAndForwarders(), DtAssistantConnectionInfoMgr::unverifyListedRtiexecsForwardersForAssistant(), and DtAssistantConnectionInfoMgr::unverifyRtiexecsForwardersForAssistant().
| bool DtRtiConnectionAndConfiguration::findConfiguration | ( | DtRtiConfigurationInfoDataPair & | config | ) | const [virtual] |
Find the first configuration that's compatible.
Returns the found configuration, including its associated data
References myConfigs.
Referenced by findConfigMapping(), DtAssistantConnectionInfoMgr::processLocalForwarderHasRtiexec(), DtAssistantConnectionInfoMgr::processLocalRtiComponentConnected(), and DtAssistantConnectionInfoMgr::processNewChosenConnection().
| bool DtRtiConnectionAndConfiguration::findConnection | ( | DtRtiConnectionInfoDataPair & | conn | ) | const [virtual] |
Find the first connection that's compatible with conn.
Returns the found connection, including its associated data
References myConns.
Referenced by DtAssistantConnQueryWidget::addConnections(), DtAssistantConnectionInfoMgr::addListedRtiexecsForwardersForAssistant(), DtAssistantConnectionInfoMgr::addUserDefinedConnections(), DtAssistantConnectionInfoMgr::connectionName(), DtAssistantConnectionInfoMgr::getConnectionInfo(), DtConnectionCache::getLightweightConnectionsFromEnv(), DtAssistantConnectionInfoMgr::getRemoteForwarderConnInfo(), DtAssistantConnectionInfoMgr::getRemoteRtiexecConnInfo(), DtAssistantConnectionInfoMgr::getRemoteRtiexecLocation(), DtAssistantConnectionInfoMgr::getRemoteRtiForwarderLocation(), DtConnectionCache::getRtiexecConnectionsFromEnv(), DtAssistantConnectionInfoMgr::localRtiexecCompId(), DtAssistantConnectionInfoMgr::localRtiForwarderCompId(), DtAssistantConnectionInfoMgr::processLightweightInfoMsg(), DtAssistantConnectionInfoMgr::processLocalForwarderHasNoRtiexec(), DtAssistantConnectionInfoMgr::processLocalForwarderHasRtiexec(), DtAssistantConnectionInfoMgr::processLocalRtiComponentConnected(), DtAssistantConnectionInfoMgr::processLocalRtiComponentNotConnected(), DtAssistantConnectionInfoMgr::processNewChosenConnection(), DtAssistantConnQueryWidget::removeConnections(), DtAssistantConnectionInfoMgr::removeUserDeletedConnections(), DtAssistantConnectionInfoMgr::unverifyListedRtiexecsForwardersForAssistant(), and DtAssistantConnectionInfoMgr::unverifyRtiexecsForwardersForAssistant().
| bool DtRtiConnectionAndConfiguration::findConnectionWithMatchingNameAndOwner | ( | DtRtiConnectionInfoDataPair & | conn | ) | [virtual] |
Finds the connection with the matching name and owner with the given one.
Returns true if the connection was found and could be replaced.
References myConnNames.
Referenced by DtAssistantConnectionInfoMgr::addListedRtiexecsForwardersForAssistant(), DtAssistantConnectionInfoMgr::processLightweightInfoMsg(), and DtAssistantConnectionInfoMgr::processStartRtiexecMsg().
| bool DtRtiConnectionAndConfiguration::getChosenConnAndConfig | ( | DtRtiConnectionInfoDataPair & | conn, |
| DtRtiConfigurationInfoDataPair & | config | ||
| ) | [virtual] |
Retrieves the chosen connection and configuration, or returns false if nothing has been chosen.
References myChosenConfiguration, myChosenConnection, myConfigurationIsChosen, and myConnectionIsChosen.
Referenced by DtAssistantConnectionInfoMgr::getChosenConnectionAndConfiguration(), DtAssistantConnectionInfoMgr::processClearChosenConnection(), DtAssistantConnectionInfoMgr::processNewChosenConnection(), DtAssistantConnectionInfoMgr::pruneStaleAssistantsExecsFwrdrs(), and DtAssistantConnectionInfoMgr::pruneStaleLightweightConns().
| bool DtRtiConnectionAndConfiguration::nameAndOwnerExists | ( | const MAKRti::DtString & | name, |
| const MAKRti::DtString & | owner | ||
| ) | const [virtual] |
Checks the list to see if a connection with this name and owning host name is present, and returns true if it is.
References myConnNames.
| int DtRtiConnectionAndConfiguration::numberOfEntriesWithName | ( | const MAKRti::DtString & | name | ) | const [virtual] |
Returns the number of entries with the given name.
References myConnNames.
Referenced by DtAssistantConnectionInfoMgr::connectionName().
| bool DtRtiConnectionAndConfiguration::operator!= | ( | const DtRtiConnectionAndConfiguration & | other | ) | const [virtual] |
| bool DtRtiConnectionAndConfiguration::operator< | ( | const DtRtiConnectionAndConfiguration & | other | ) | const [virtual] |
References configs(), connections(), connToConfigMap(), myConfigs, myConns, and myConnsAndConfigs.
| DtRtiConnectionAndConfiguration & DtRtiConnectionAndConfiguration::operator= | ( | const DtRtiConnectionAndConfiguration & | orig | ) | [virtual] |
| bool DtRtiConnectionAndConfiguration::operator== | ( | const DtRtiConnectionAndConfiguration & | other | ) | const [virtual] |
References configs(), connections(), connToConfigMap(), myConfigs, myConns, and myConnsAndConfigs.
| void DtRtiConnectionAndConfiguration::removeChosenDesignation | ( | ) | [protected] |
Removes the current chosen designation.
References myChosenConfiguration, myChosenConnection, myConfigurationIsChosen, and myConnectionIsChosen.
Referenced by addConnection(), removeConnection(), updateConnection(), and updateConnectionAssociatedDataOnly().
| bool DtRtiConnectionAndConfiguration::removeConfiguration | ( | const DtRtiConnectionConfigurationInfo & | config | ) | [virtual] |
If config is known, remove it and return whether it was removed.
References myChosenConfiguration, myConfigs, myConfigurationIsChosen, and myConnsAndConfigs.
| bool DtRtiConnectionAndConfiguration::removeConnection | ( | const DtRtiConnectionInfo & | conn | ) | [virtual] |
If connection is known, remove it and return whether it was removed.
References myChosenConnection, myConnectionIsChosen, myConnNames, myConns, myConnsAndConfigs, and removeChosenDesignation().
Referenced by DtAssistantConnQueryWidget::addConnections(), DtAssistantConnectionInfoMgr::removeConnections(), DtAssistantConnQueryWidget::storeUserRemovedConnection(), and DtAssistantConnectionInfoMgr::unverifyRtiexecsForwardersForAssistant().
| void DtRtiConnectionAndConfiguration::removeConnectionConfigMapping | ( | const DtRtiConnectionInfo & | conn | ) | [virtual] |
Remove mapping between a connection and its configuration.
References myChosenConfiguration, myChosenConnection, myConfigurationIsChosen, myConnectionIsChosen, and myConnsAndConfigs.
Referenced by DtAssistantConnectionInfoMgr::pruneStaleAssistantsExecsFwrdrs(), and DtAssistantConnectionInfoMgr::pruneStaleLightweightConns().
| void DtRtiConnectionAndConfiguration::setChosenConfigurationFromConnection | ( | ) | [protected] |
Sets the chosen configuration based on the current chosen connection.
References myChosenConfiguration, myChosenConnection, myConfigs, myConfigurationIsChosen, and myConnsAndConfigs.
Referenced by updateConnection(), and updateConnectionAssociatedDataOnly().
| void DtRtiConnectionAndConfiguration::setConnectionConfigMapping | ( | const DtRtiConnectionInfo & | conn, |
| const DtRtiConnectionConfigurationInfo & | config | ||
| ) | [virtual] |
Add or changes the configuration that is mapped to the connection.
If another mapping already exists for the connection, it is removed before adding the new one.
References myChosenConfiguration, myChosenConnection, myConfigs, myConfigurationIsChosen, myConnectionIsChosen, and myConnsAndConfigs.
Referenced by DtAssistantConnectionInfoMgr::addListedRtiexecsForwardersForAssistant(), DtConnectionCache::getConfigurationsFromEnv(), DtAssistantLightweightInfoMsg::getLightweightConns(), DtAssistantInfoMsg::getRtiexecsAndForwarders(), DtAssistantConnectionInfoMgr::processClearChosenConnection(), DtAssistantConnectionInfoMgr::processLightweightInfoMsg(), DtAssistantConnectionInfoMgr::processLocalForwarderHasNoRtiexec(), DtAssistantConnectionInfoMgr::processLocalForwarderHasRtiexec(), DtAssistantConnectionInfoMgr::processLocalRtiComponentConnected(), DtAssistantConnectionInfoMgr::processLocalRtiComponentNotConnected(), DtAssistantConnectionInfoMgr::processNewChosenConnection(), DtAssistantConnectionInfoMgr::pruneStaleAssistantsExecsFwrdrs(), DtAssistantConnectionInfoMgr::pruneStaleLightweightConns(), DtAssistantConnectionInfoMgr::removeAllLocalRtiexecsForwarders(), DtRtiAssistantPeer::sendLightweightInfoMsg(), DtAssistantConnectionInfoMgr::setInterfaceForPredefinedConns(), DtAssistantConnectionInfoMgr::unverifyListedRtiexecsForwardersForAssistant(), and DtAssistantConnectionInfoMgr::unverifyRtiexecsForwardersForAssistant().
| virtual unsigned int DtRtiConnectionAndConfiguration::size | ( | ) | const [inline, virtual] |
Referenced by DtAssistantConnQueryWidget::addConnections(), DtAssistantConnectionInfoMgr::addUserDefinedConnections(), DtAssistantConnQueryMgr::checkForConflictingUnsavedConns(), DtAssistantConnectionInfoMgr::heartbeatAssistant(), DtAssistantConnectionInfoMgr::processInfoMsg(), DtAssistantConnectionInfoMgr::processLightweightInfoMsg(), DtAssistantConnectionInfoMgr::processLocalRtiComponentNotConnected(), DtAssistantConnectionInfoMgr::processNewChosenConnection(), DtAssistantConnectionInfoMgr::processRemovalMsg(), DtAssistantConnQueryMgr::processUserAddedConnections(), DtAssistantConnQueryMgr::processUserRemovedConnections(), DtAssistantConnectionInfoMgr::pruneStaleAssistantsExecsFwrdrs(), DtAssistantConnectionInfoMgr::pruneStaleLightweightConns(), DtAssistantConnectionInfoMgr::removeAllLocalRtiexecsForwarders(), DtAssistantConnQueryWidget::removeConnections(), DtAssistantConnectionInfoMgr::removeUserDeletedConnections(), DtAssistantConnectionInfoMgr::setInterfaceForPredefinedConns(), DtAssistantLightweightInfoMsg::setLightweightConns(), and DtAssistantInfoMsg::setRtiexecsAndForwarders().
| bool DtRtiConnectionAndConfiguration::updateConfiguration | ( | const DtRtiConfigurationInfoDataPair & | config | ) | [virtual] |
Replace the existing configuration with the new associated data.
References myConfigs.
Referenced by DtAssistantConnectionInfoMgr::processLocalForwarderHasRtiexec(), DtAssistantConnectionInfoMgr::processLocalRtiComponentConnected(), and DtAssistantConnectionInfoMgr::processNewChosenConnection().
| bool DtRtiConnectionAndConfiguration::updateConnection | ( | DtRtiConnectionInfoDataPair & | conn | ) | [virtual] |
Update the existing connection with with the new associated data as well as ensuring that both conn and the stored connection have the most complete host information.
References myChosenConnection, myConnectionIsChosen, myConnNames, myConns, myConnsAndConfigs, removeChosenDesignation(), and setChosenConfigurationFromConnection().
Referenced by DtAssistantConnectionInfoMgr::addListedRtiexecsForwardersForAssistant(), and DtAssistantConnectionInfoMgr::processLocalRtiComponentConnected().
| bool DtRtiConnectionAndConfiguration::updateConnectionAssociatedDataOnly | ( | DtRtiConnectionInfoDataPair & | conn | ) | [virtual] |
Update the existing connection with with the new associated data as well as ensuring that the passed in conn has the most complete host info.
Does not update any host info for the stored connection.
References myChosenConnection, myConnectionIsChosen, myConnNames, myConns, removeChosenDesignation(), and setChosenConfigurationFromConnection().
Referenced by DtAssistantConnQueryWidget::addConnections(), DtAssistantConnectionInfoMgr::addUserDefinedConnections(), DtAssistantConnectionInfoMgr::checkForConflictingConns(), DtConnectionCache::getLightweightConnectionsFromEnv(), DtConnectionCache::getRtiexecConnectionsFromEnv(), DtAssistantConnectionInfoMgr::processClearChosenConnection(), DtAssistantConnectionInfoMgr::processLightweightInfoMsg(), DtAssistantConnectionInfoMgr::processLocalForwarderHasNoRtiexec(), DtAssistantConnectionInfoMgr::processLocalForwarderHasRtiexec(), DtAssistantConnectionInfoMgr::processLocalRtiComponentNotConnected(), DtAssistantConnectionInfoMgr::processNewChosenConnection(), DtAssistantConnectionInfoMgr::pruneStaleAssistantsExecsFwrdrs(), DtAssistantConnectionInfoMgr::pruneStaleLightweightConns(), DtAssistantConnectionInfoMgr::removeAllLocalLightweightConns(), DtAssistantConnectionInfoMgr::removeAllLocalRtiexecsForwarders(), DtAssistantConnQueryWidget::removeConnections(), DtAssistantConnectionInfoMgr::unverifyListedRtiexecsForwardersForAssistant(), and DtAssistantConnectionInfoMgr::unverifyRtiexecsForwardersForAssistant().
| bool DtRtiConnectionAndConfiguration::willConflict | ( | const DtRtiConnectionInfo & | compare, |
| MAKRti::DtString & | reason | ||
| ) | const [virtual] |
Determines if there are any active connections in this list that will conflict with the given one.
Sets a description of the reason for the conflict.
References DtRtiConnectionInfo::conflictsWith(), DtAssistantConnNameForDisplay(), and myConns.
Referenced by DtAssistantConnectionInfoMgr::addUserDefinedConnections(), DtAssistantConnectionInfoMgr::checkForConflictingConns(), DtAssistantConnectionInfoMgr::isConnConflicting(), and DtAssistantConnectionInfoMgr::processStartRtiexecMsg().
DtRtiConfigurationInfoDataMap::iterator DtRtiConnectionAndConfiguration::myChosenConfiguration [protected] |
DtRtiConnectionInfoDataMap::iterator DtRtiConnectionAndConfiguration::myChosenConnection [protected] |
Referenced by addConnection(), DtRtiConnectionAndConfiguration(), getChosenConnAndConfig(), operator=(), removeChosenDesignation(), removeConnection(), removeConnectionConfigMapping(), setChosenConfigurationFromConnection(), setConnectionConfigMapping(), updateConnection(), and updateConnectionAssociatedDataOnly().
Referenced by addConnection(), clearAllInfo(), clearAllSaved(), DtRtiConnectionAndConfiguration(), getChosenConnAndConfig(), operator=(), removeChosenDesignation(), removeConnection(), removeConnectionConfigMapping(), setConnectionConfigMapping(), updateConnection(), and updateConnectionAssociatedDataOnly().
Referenced by clearAllInfo(), clearAllSaved(), DtRtiConnectionAndConfiguration(), findConfigMapping(), operator<(), operator=(), operator==(), removeConfiguration(), removeConnection(), removeConnectionConfigMapping(), setChosenConfigurationFromConnection(), setConnectionConfigMapping(), and updateConnection().