| Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
Config Class Reference#include <Config.h>
Inheritance diagram for Config: ![]() Detailed Descriptionthe root configuration object, provides some global functionality like porting pathnames (portPath())
Definition at line 86 of file Config.h.
Member Function Documentation
Load from a saved buffer in memory.
Reimplemented from XMLLoadSave.
initiate opening of the specified file and loading/saving of all appropriate information.
Reimplemented from XMLLoadSave. Definition at line 227 of file Config.cc. Referenced by Config().
Used recursively on member objects once a file is already open - DON'T CLOSE the file in your overridden functions.
Reimplemented from XMLLoadSave.
saves the dictionary into the specified node
Reimplemented from plist::Dictionary.
pass the section, item name string, item value string - sets the value and returns pointer to the item changed this is the older deprecated interface -- use the inherited resolveEntry() instead to support sub-sections Definition at line 315 of file Config.cc. Referenced by parseLine(), and Controller::setConfig().
Member Data Documentationplace for users to put their own configuration you can dynamically "link in" external configuration settings by passing them to the addEntry() of the plist::Dictionary superclass. You may want to call writeParseTree() first to flush current settings, and then readParseTree() afterward to pull any pre-existing values from the configuration file into the instances you've just registered. Of course, you could also just write your values into the configuration file first, and just rely on getEntry/setEntry to read/write the value. This may be more convenient if you use the value infrequently and don't need an instance of it sitting around. Referenced by Config().
a prefix representing the file system root, usually indicating the robot's storage root. When running in the simulator, this is used to pretend that a subdirectory in the project folder (e.g. 'ms') is the root file system Definition at line 687 of file Config.h. Referenced by getFileSystemRoot(), portPath(), and setFileSystemRoot().
The documentation for this class was generated from the following files: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Tekkotsu v3.0 |
Generated Fri May 11 20:07:50 2007 by Doxygen 1.4.7 |