SensESP 3.4.1-alpha
Universal Signal K sensor toolkit ESP32
Loading...
Searching...
No Matches
transform.cpp
Go to the documentation of this file.
1#include "sensesp.h"
2
3#include "transform.h"
4
5#include <utility>
6
7#include "ArduinoJson.h"
8
9namespace sensesp {
10
11// Transform
12
13std::set<TransformBase*> TransformBase::transforms_;
14
15TransformBase::TransformBase(const String& config_path)
16 : FileSystemSaveable{config_path} {
17 transforms_.insert(this);
18}
19
20TransformBase::~TransformBase() { transforms_.erase(this); }
21
22void TransformBase::clear_registry() { transforms_.clear(); }
23
24} // namespace sensesp
TransformBase(const String &config_path)
Definition transform.cpp:15
static void clear_registry()
Definition transform.cpp:22