SensESP 2.7.2
Universal Signal K sensor toolkit ESP32
Loading...
Searching...
No Matches
signalk_output.cpp
Go to the documentation of this file.
1#include "signalk_output.h"
2
3namespace sensesp {
4
5template <typename T>
8 : SKOutput<T>(sk_path, config_path, meta) {
9 if (this->meta_ == NULL && !this->sk_path.isEmpty()) {
10 debugW("WARNING - No metadata for %s. Numeric values should specify units",
11 this->sk_path.c_str());
12 }
13}
14
15template class SKOutputNumeric<float>;
16template class SKOutputNumeric<int>;
17
18} // namespace sensesp
Construct a new transform based on a single function.
Holds Signal K meta data that is associated with the sk_path an SKEmitter class may optionally send t...
A specialized transform whose primary purpose is to output Signal K data on the Signal K network.
SKMetadata * meta_
SKOutputNumeric(String sk_path, String config_path="", SKMetadata *meta=NULL)
#define debugW(fmt,...)
Definition local_debug.h:49