Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
ConfigDictionary Class Reference#include <Config.h>
Inheritance diagram for ConfigDictionary:
![]() Detailed Descriptiona subclass of plist::Dictionary which adds support for filtering settings by robot model, each configuration section is based on thisAs a slight extension to standard plists, you can specify model-specific settings by prepending a key with: Model:MODEL_PATTERN:KEY_NAME For example, to use different 'thresh' settings on the ERS-2xx series vs. the ERS-7 model, you would use the keys:
Definition at line 35 of file Config.h.
Constructor & Destructor Documentation
Member Function Documentation
called with each node being loaded so subclass can handle appropriately
Reimplemented from plist::DictionaryOf< ObjectBase >. Reimplemented in OutputConfig< T >, and OutputConfig< plist::Primitive< float > >. Definition at line 64 of file Config.cc. Referenced by OutputConfig< plist::Primitive< float > >::loadXMLNode().
called with each node being saved so subclass can handle appropriately, return true if successful and reset key if changed
Reimplemented from plist::DictionaryBase.
returns true if pattern matches model - pattern may have up to 1 '*', case insensitive
Definition at line 126 of file Config.cc. Referenced by loadXMLNode(), Config::parseLine(), and saveOverXMLNode().
function to initialize curModel
Member Data Documentation
the prefix indicating a model-specific key
Definition at line 51 of file Config.h. Referenced by loadXMLNode(), and saveOverXMLNode().
the separator string which splits the key into the prefix, model pattern, and (optionally) a single key name
Definition at line 52 of file Config.h. Referenced by loadXMLNode(), and saveOverXMLNode().
will be set to the model identifier of the currently running hardware
Definition at line 54 of file Config.h. Referenced by ConfigDictionary(), loadXMLNode(), Config::parseLine(), and saveOverXMLNode().
The documentation for this class was generated from the following files: |
Tekkotsu v4.0 |
Generated Thu Nov 22 00:58:15 2007 by Doxygen 1.5.4 |