Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Config::behaviors_config Class Reference

place for users to put their own configuration More...

#include <Config.h>

Inheritance diagram for Config::behaviors_config:

Detailed Description

place 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.

Definition at line 145 of file Config.h.

List of all members.

Public Member Functions

 behaviors_config ()
 constructor

Public Attributes

plist::Primitive< unsigned int > flash_bytes
 how many bytes of the IP to flash
plist::Primitive< bool > flash_on_start
 whether or not to trigger flashing when initially started

Constructor & Destructor Documentation

Config::behaviors_config::behaviors_config (  ) 

constructor

Definition at line 148 of file Config.h.


Member Data Documentation

how many bytes of the IP to flash

Definition at line 162 of file Config.h.

Referenced by behaviors_config(), and FlashIPAddrBehavior::setupSequence().

whether or not to trigger flashing when initially started

Definition at line 163 of file Config.h.

Referenced by behaviors_config(), and FlashIPAddrBehavior::doStart().


The documentation for this class was generated from the following file:

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:06 2016 by Doxygen 1.6.3