SensESP 2.7.2
Universal Signal K sensor toolkit ESP32
Loading...
Searching...
No Matches
sensesp::TransformBase Class Reference

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>

Inheritance diagram for sensesp::TransformBase:
[legend]

Public Member Functions

 TransformBase (String config_path="")
 
- Public Member Functions inherited from sensesp::Configurable
 Configurable (String config_path="", String description="", int sort_order=1000)
 
virtual void get_configuration (JsonObject &configObject)
 
virtual bool set_configuration (const JsonObject &config)
 
virtual String get_config_schema ()
 
String get_description ()
 
void set_description (String description)
 Set the description of the Configurable.
 
int get_sort_order ()
 
void set_sort_order (int sort_order)
 
virtual void save_configuration ()
 
- Public Member Functions inherited from sensesp::Startable
 Startable (int priority=0)
 
virtual void start ()
 
const int get_start_priority ()
 
void set_start_priority (int priority)
 

Static Public Member Functions

static const std::set< TransformBase * > & get_transforms ()
 
- Static Public Member Functions inherited from sensesp::Startable
static void start_all ()
 

Additional Inherited Members

- Public Attributes inherited from sensesp::Configurable
const String config_path_
 
- Protected Member Functions inherited from sensesp::Configurable
virtual void load_configuration ()
 
- Protected Attributes inherited from sensesp::Configurable
String description_ = ""
 
int sort_order_ = 1000
 

Detailed Description

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

Parameters
config_pathThe path to configure the Transform in the Config UI.

Definition at line 31 of file transform.h.

Constructor & Destructor Documentation

◆ TransformBase()

sensesp::TransformBase::TransformBase ( String  config_path = "")

Definition at line 12 of file transform.cpp.

Member Function Documentation

◆ get_transforms()

static const std::set< TransformBase * > & sensesp::TransformBase::get_transforms ( )
inlinestatic

Definition at line 38 of file transform.h.


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