|
SensESP 3.4.0
Universal Signal K sensor toolkit ESP32
|
An object that listens for PUT requests to come in for the specified SignalK path. The value is then emitted for further processing. More...
#include <sensesp/signalk/signalk_put_request_listener.h>
Public Member Functions | |
| SKPutRequestListener (String sk_path) | |
| void | parse_value (const JsonObject &put) override |
| Public Member Functions inherited from sensesp::SKPutListener | |
| SKPutListener (const String &sk_path) | |
| String & | get_sk_path () |
| Public Member Functions inherited from sensesp::Observable | |
| Observable () | |
| Observable (Observable &&other) | |
| Move constructor. | |
| void | notify () |
| int | attach (std::function< void()> observer) |
| Attach an observer callback. | |
| void | detach (int id) |
| Remove a previously attached observer by its ID. | |
| Public Member Functions inherited from sensesp::ValueProducer< T > | |
| ValueProducer () | |
| ValueProducer (const T &initial_value) | |
| virtual const T & | get () const |
| template<typename VConsumer> | |
| std::enable_if< std::is_base_of< ValueConsumer< typenameVConsumer::input_type >, VConsumer >::value &&std::is_convertible< T, typenameVConsumer::input_type >::value, std::shared_ptr< VConsumer > >::type | connect_to (std::shared_ptr< VConsumer > consumer) |
| Connect a producer to a transform with a different input type. | |
| template<typename VConsumer> | |
| std::enable_if< std::is_base_of< ValueConsumer< typenameVConsumer::input_type >, VConsumer >::value &&std::is_convertible< T, typenameVConsumer::input_type >::value, VConsumer * >::type | connect_to (VConsumer *consumer) |
| template<typename VConsumer> | |
| std::enable_if< std::is_base_of< ValueConsumer< typenameVConsumer::input_type >, VConsumer >::value &&std::is_convertible< T, typenameVConsumer::input_type >::value, VConsumer * >::type | connect_to (VConsumer &consumer) |
| void | emit (const T &new_value) |
Additional Inherited Members | |
| Static Public Member Functions inherited from sensesp::SKPutListener | |
| static const std::vector< SKPutListener * > & | get_listeners () |
| Protected Attributes inherited from sensesp::SKPutListener | |
| String | sk_path {} |
| Protected Attributes inherited from sensesp::ValueProducer< T > | |
| T | output_ |
An object that listens for PUT requests to come in for the specified SignalK path. The value is then emitted for further processing.
Definition at line 51 of file signalk_put_request_listener.h.
|
inline |
Definition at line 53 of file signalk_put_request_listener.h.
|
inlineoverridevirtual |
Implements sensesp::SKPutListener.
Definition at line 61 of file signalk_put_request_listener.h.