|
SensESP 3.1.1
Universal Signal K sensor toolkit ESP32
|
The base class for all transforms. A transforms takes a value in, transforms it in some way, and outputs the transformed value. More...
#include <sensesp/transforms/transform.h>
Public Member Functions | |
| TransformBase (const String &config_path) | |
Public Member Functions inherited from sensesp::FileSystemSaveable | |
| 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) |
Public Member Functions inherited from sensesp::Saveable | |
| 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 |
Public Member Functions inherited from sensesp::Serializable | |
| virtual bool | to_json (JsonObject &root) |
| virtual bool | from_json (const JsonObject &root) |
Static Public Member Functions | |
| static const std::set< TransformBase * > & | get_transforms () |
Additional Inherited Members | |
Protected Attributes inherited from sensesp::Saveable | |
| const String | config_path_ |
The base class for all transforms. A transforms takes a value in, transforms it in some way, and outputs the transformed value.
All transforms are subscribed to by calling attach() (inherited from Observable).
| config_path | The path to configure the Transform in the Config UI. |
Definition at line 30 of file transform.h.
| sensesp::TransformBase::TransformBase | ( | const String & | config_path | ) |
Definition at line 15 of file transform.cpp.
|
inlinestatic |
Definition at line 37 of file transform.h.