|
| RepeatSensor (unsigned int repeat_interval_ms, std::function< T()> callback) |
| Construct a new RepeatSensor object.
|
|
| RepeatSensor (unsigned int repeat_interval_ms, std::function< void(RepeatSensor< T > *)> callback) |
| Construct a new RepeatSensor object (supporting asynchronous callbacks).
|
|
void | start () override final |
|
| SensorT (String config_path="") |
|
| Sensor (String config_path="") |
|
| Observable () |
|
| Observable (Observable &&other) |
| Move constructor.
|
|
void | notify () |
|
void | attach (std::function< void()> observer) |
|
| 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 () |
|
| Startable (int priority=0) |
|
const int | get_start_priority () |
|
void | set_start_priority (int priority) |
|
| ValueProducer () |
|
virtual const T & | get () const |
|
void | connect_to (ValueConsumer< T > *consumer, uint8_t input_channel=0) |
|
template<typename CT > |
void | connect_to (ValueConsumer< CT > *consumer, uint8_t input_channel=0) |
| Connect a producer to a consumer of a different type.
|
|
template<typename T2 > |
Transform< T, T2 > * | connect_to (Transform< T, T2 > *consumer_producer, uint8_t input_channel=0) |
|
template<typename TT , typename T2 > |
Transform< TT, T2 > * | connect_to (Transform< TT, T2 > *consumer_producer, uint8_t input_channel=0) |
| Connect a producer to a transform with a different input type.
|
|
void | emit (T new_value) |
|
template<
class T>
class sensesp::RepeatSensor< T >
Definition at line 57 of file sensor.h.