#include <sensesp/ui/ui_controls.h>
|
| | StringConfig (String &value, String &config_path) |
| |
| virtual bool | to_json (JsonObject &doc) override |
| |
| virtual bool | from_json (const JsonObject &config) override |
| |
| String | get_value () |
| |
| | FileSystemSaveable (const String &config_path) |
| |
| virtual bool | load () override |
| | Load and populate the object from a persistent storage.
|
| |
| virtual bool | save () override |
| | Save the object to a persistent storage.
|
| |
| virtual bool | clear () override |
| | Delete the data from a persistent storage.
|
| |
| bool | find_config_file (const String &config_path, String &filename) |
| |
| | Saveable (const String &config_path) |
| |
| virtual bool | refresh () |
| | Refresh the object. This may or may not access the persistent storage but is not expected to overwrite the object's state.
|
| |
| const String & | get_config_path () const |
| |
Definition at line 10 of file ui_controls.h.
◆ StringConfig()
| sensesp::StringConfig::StringConfig |
( |
String & | value, |
|
|
String & | config_path ) |
|
inline |
◆ from_json()
| bool sensesp::StringConfig::from_json |
( |
const JsonObject & | root | ) |
|
|
overridevirtual |
◆ get_value()
| String sensesp::StringConfig::get_value |
( |
| ) |
|
|
inline |
◆ to_json()
| bool sensesp::StringConfig::to_json |
( |
JsonObject & | root | ) |
|
|
overridevirtual |
◆ title_
| String sensesp::StringConfig::title_ = "Value" |
|
protected |
◆ value_
| String sensesp::StringConfig::value_ |
|
protected |
The documentation for this class was generated from the following files: