12 #ifndef DtConnectionCache_H_
13 #define DtConnectionCache_H_
15 #include <mtl/environment.h>
16 #include <mtl/envXmlWriter.h>
17 #include <vlutil/vlString.h>
18 #include <vlutil/vlFilename.h>
45 virtual bool writeToFile();
48 virtual bool writeToFile(
const MAKRti::DtFilename& xmlFile );
51 virtual std::ostream& print( std::ostream& ostr )
const;
60 virtual void clearConnections();
63 virtual bool fileWasRead()
const;
67 virtual bool getFileVersion( MAKRti::DtString& version )
const;
70 virtual bool isCacheVersionOld()
const;
72 virtual DtNetU128 rawUuid()
const;
110 virtual void removeForeignConnectionsFromEnv(
const DtHostNameAddress& foreignConnection );
114 MAKRti::DtEnvValueSP val );
118 MAKRti::DtEnvValueSP val );
122 bool parseFile(
const MAKRti::DtFilename& filename );
149 static MAKRti::DtString thePredefinedLightweightConnName;
164 static MAKRti::DtString thePredefinedRtiexecConnName;
179 static MAKRti::DtString thePredefinedLightweightLoopbackConnName;
194 static MAKRti::DtString thePredefinedRtiexecLoopbackConnName;
211 return cache.
print( ostr );
214 #endif // DtConnectionCache_H_
static DtRtiConnectionInfo thePredefinedRtiexecLoopbackConn
The predefined rtiexec loopback connection.
Definition: connectionsCache.h:198
static MAKRti::DtString thePredefinedRtiexecConfigName
The predefined rtiexec configuration name.
Definition: connectionsCache.h:171
static MAKRti::DtString thePredefinedRtiexecLoopbackConfigName
The predefined rtiexec loopback configuration name.
Definition: connectionsCache.h:201
Contains the DtRtiConnectionAndConfiguration class declaration.
MAKRti::DtString myReadFileVersion
The version of the file that was read.
Definition: connectionsCache.h:138
static DtRtiConnectionConfigurationInfo thePredefinedLightweightLoopbackConfig
The predefined lightweight loopback configuration.
Definition: connectionsCache.h:189
This file contains the declaration of DtRtiConnectionInfo.
std::pair< DtRtiConnectionInfo, DtRtiAssociatedConnectionData > DtRtiConnectionInfoDataPair
Pair of connection with associated data.
Definition: assistantConnectionInfo.h:29
Structure Remote Assistant to be displayed.
Definition: assistantInfo.h:39
Contains the DtRtiConnectionConfigurationInfo class declaration.
virtual std::ostream & print(std::ostream &ostr) const
Prints the cache to the given output stream.
bool myFileWasRead
Indicates whether a cache file was found and read.
Definition: connectionsCache.h:144
std::ostream & operator<<(std::ostream &ostr, const DtAssistantConfig &config)
Definition: assistantConfig.h:85
MAKRti::DtEnvironment myEnvironment
The cached license environment.
Definition: connectionsCache.h:127
Stores the cached connections which the Assistant can provide to components if necessary.
Definition: connectionsCache.h:30
static DtRtiConnectionConfigurationInfo thePredefinedLightweightConfig
The predefined lightweight configuration.
Definition: connectionsCache.h:159
static MAKRti::DtString thePredefinedLightweightConfigName
The predefined lightweight configuration name.
Definition: connectionsCache.h:156
static DtRtiConnectionInfo thePredefinedLightweightLoopbackConn
The predefined lightweight loopback connection.
Definition: connectionsCache.h:183
std::pair< DtRtiConnectionConfigurationInfo, DtRtiAssociatedConfigurationData > DtRtiConfigurationInfoDataPair
Pair of configuration with associated data.
Definition: assistantConnectionConfigurationInfo.h:58
DtHostNameAddress stores information on a host, input as either hostname, IP address, or both.
Definition: hostNameAddress.h:23
MAKRti::DtString myUuid
The uuid of the file that was read.
Definition: connectionsCache.h:141
Stores the information on an RTI configuration known by the Assistant.
Definition: assistantConnectionConfigurationInfo.h:61
static DtRtiConnectionConfigurationInfo thePredefinedRtiexecLoopbackConfig
The predefined rtiexec loopback configuration.
Definition: connectionsCache.h:204
static DtRtiConnectionInfo thePredefinedLightweightConn
The predefined lightweight connection.
Definition: connectionsCache.h:153
static MAKRti::DtString thePredefinedLightweightLoopbackConfigName
The predefined lightweight loopback configuration name.
Definition: connectionsCache.h:186
#define DT_DLL_ASSISTANTAPP
Definition: rtiMsConfig.h:151
Stores the information on an RTI connection and possibly matching configuration known by the Assistan...
Definition: connectionAndConfiguration.h:22
DtUniquePtr< MAKRti::DtEnvXMLWriter > myXmlWriter
Document writer - used to convert the document to XML in memory or file myXmlWriter is persistent so ...
Definition: connectionsCache.h:132
static DtRtiConnectionInfo thePredefinedRtiexecConn
The predefined rtiexec connection.
Definition: connectionsCache.h:168
static DtRtiConnectionConfigurationInfo thePredefinedRtiexecConfig
The predefined rtiexec configuration.
Definition: connectionsCache.h:174
Stores the information on an RTI connection known by the Assistant.
Definition: assistantConnectionInfo.h:36
MAKRti::DtFilename myXmlFile
The name of the default XML file to read from and write to.
Definition: connectionsCache.h:135