SensESP 2.7.2
Universal Signal K sensor toolkit ESP32
|
A special class for sending numeric values to the Signal K server on a specific Signal K path. More...
#include <sensesp/signalk/signalk_output.h>
Additional Inherited Members | |
Static Public Member Functions inherited from sensesp::SKEmitter | |
static const std::vector< SKEmitter * > & | get_sources () |
Static Public Member Functions inherited from sensesp::TransformBase | |
static const std::set< TransformBase * > & | get_transforms () |
Static Public Member Functions inherited from sensesp::Startable | |
static void | start_all () |
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::SKOutput< T > | |
SKMetadata * | meta_ |
Protected Attributes inherited from sensesp::SKEmitter | |
String | sk_path |
Protected Attributes inherited from sensesp::Configurable | |
String | description_ = "" |
int | sort_order_ = 1000 |
Protected Attributes inherited from sensesp::ValueProducer< T > | |
T | output |
A special class for sending numeric values to the Signal K server on a specific Signal K path.
Definition at line 111 of file signalk_output.h.
sensesp::SKOutputNumeric< T >::SKOutputNumeric | ( | String | sk_path, |
String | config_path = "" , |
||
SKMetadata * | meta = NULL |
||
) |
Definition at line 6 of file signalk_output.cpp.
|
inline |
Definition at line 116 of file signalk_output.h.
|
inline |
The Signal K specification requires that numeric values sent to the server should at minimum specify a "units". This constructor allows you to conveniently specify the numeric units as a third parameter.
units | The unit value for the number this outputs on the specified Signal K path. See https://github.com/SignalK/specification/blob/master/schemas/definitions.json#L87 |
Definition at line 128 of file signalk_output.h.