#include <sensesp/ui/ui_controls.h>
|
| NumberConfig (float &value, String &config_path) |
|
virtual bool | to_json (JsonObject &doc) override |
|
virtual bool | from_json (const JsonObject &config) override |
|
float | 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 31 of file ui_controls.h.
◆ NumberConfig()
sensesp::NumberConfig::NumberConfig |
( |
float & | value, |
|
|
String & | config_path ) |
|
inline |
◆ from_json()
bool sensesp::NumberConfig::from_json |
( |
const JsonObject & | root | ) |
|
|
overridevirtual |
◆ get_value()
float sensesp::NumberConfig::get_value |
( |
| ) |
|
|
inline |
◆ to_json()
bool sensesp::NumberConfig::to_json |
( |
JsonObject & | root | ) |
|
|
overridevirtual |
◆ ConfigSchema
◆ title_
String sensesp::NumberConfig::title_ = "Value" |
|
protected |
◆ value_
float sensesp::NumberConfig::value_ |
|
protected |
The documentation for this class was generated from the following files: