1#ifndef SENSESP_SIGNALK_SIGNALK_EMITTER_H_
2#define SENSESP_SIGNALK_SIGNALK_EMITTER_H_
6#include <ArduinoJson.h>
34 ESP_LOGE(
"SKEmitter",
"as_signalk_json() not implemented");
35 JsonVariant obj = doc.as<JsonVariant>();
36 obj.set(
"ERROR! Not implemented");
66 static const std::vector<SKEmitter*>&
get_sources() {
return sources_; }
72 static std::vector<SKEmitter*> sources_;
A base class which allow observers to attach callbacks to themselves. The callbacks will be called wh...
A class that produces Signal K output to be forwarded to the Signal K server (if the system is connec...
virtual void add_metadata(JsonArray &meta)
virtual SKMetadata * get_metadata()
virtual void as_signalk_json(JsonDocument &doc)
void set_sk_path(const String &path)
static const std::vector< SKEmitter * > & get_sources()
SKEmitter(const String &sk_path)