Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
ConfigDictionary Class Referencea subclass of plist::Dictionary which adds support for filtering settings by robot model, each configuration section is based on this More...
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 this As 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 36 of file Config.h.
Constructor & Destructor DocumentationMember Function Documentation
function to initialize curModel
called with each node being loaded so subclass can handle appropriately Reimplemented from plist::DictionaryOf< PO, Alloc >. Reimplemented in OutputConfig< T >, and OutputConfig< plist::Primitive< float > >.
returns true if pattern matches model - pattern may have up to 1 '*', case insensitive Definition at line 130 of file Config.cc. Referenced by loadXMLNode(), Config::parseLine(), and saveOverXMLNode().
called with each node being saved so subclass can handle appropriately, return true if successful and reset key if changed Reimplemented from plist::DictionaryBase. Member Data Documentation
will be set to the model identifier of the currently running hardware Definition at line 55 of file Config.h. Referenced by ConfigDictionary(), loadXMLNode(), Config::parseLine(), and saveOverXMLNode().
the prefix indicating a model-specific key Definition at line 52 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 53 of file Config.h. Referenced by loadXMLNode(), and saveOverXMLNode(). The documentation for this class was generated from the following files: |
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:06 2016 by Doxygen 1.6.3 |