Stores the Forwarder configuration information and handles saving and loading this information from an XML file.
More...
Public Member Functions |
| | DtForwarderConfig (const MAKRti::DtFilename &xmlFile) |
| | Constructor.
|
| virtual | ~DtForwarderConfig () |
| | Destructor.
|
| virtual bool | rtiForwarderConsoleVisible () |
| | is the RTI Forwarder Console visible?
|
| virtual void | setRtiForwarderConsoleVisible (bool val) |
| | DtBaseConfig (const MAKRti::DtFilename &xmlFile) |
| | Constructor.
|
| virtual | ~DtBaseConfig () |
| | Destructor.
|
| virtual void | writeToFile () |
| | Writes the configuration to the default XML file specified at creation.
|
| virtual void | writeToFile (const MAKRti::DtFilename &xmlFile) |
| | Writes the configuration to the specified XML file.
|
| virtual bool | getFileVersion (MAKRti::DtString &version) const |
| | Returns the RTI version of the file that was read.
|
| virtual bool | isFileVersionOld () const |
| | is the file read version different than the current version
|
| virtual void | needsUpdate () |
| | sets the update flag
|
| virtual std::ostream & | print (std::ostream &ostr) const |
| | Prints the configuration to the given output stream.
|
Protected Attributes |
| std::vector< DtNCVTreeInfo > | myNCVTreeInfo |
| | the vector of tree information
|
|
| MAKRti::DtEnvValueSP | myRtiForwarderConsoleVisible |
| | Pointers to the environment values for each configuration parameter.
|
| MAKRti::DtEnvironment | myEnvironment |
| | The Base configuration environment.
|
std::auto_ptr
< MAKRti::DtEnvXMLWriter > | myXmlWriter |
| | Document writer - used to convert the document to XML in memory or file myXmlWriter is persistent so that the XML memory buffer does not re-allocate as often.
|
| MAKRti::DtFilename | myXmlFile |
| | The name of the default XML file to read from and write to.
|
| bool | myUpdatedSinceWrite |
| | Flag indicating if the environment has changed since the last time it was written to the default file.
|
| MAKRti::DtString | myReadFileVersion |
| | The version of the file that was read.
|
| bool | myFileWasRead |
| | Indicates whether a cache file was found and read.
|
Stores the Forwarder configuration information and handles saving and loading this information from an XML file.