REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
|
Loading...
Searching...
No Matches
persistent.h
Go to the documentation of this file.
Persistent user-changable configuration of the Teensy Microcontroller.
Definition persistent.h:63
void fromJson(JsonObjectConst src, Context c)
This will only call the respective fromJson call in the subsystem if its key is given in the object.
Definition persistent.cpp:38
void toJson(JsonObject target, Context c)
Note that empty subsystems get removed, i.e.
Definition persistent.cpp:29
void reset_defaults(bool write_to_eeprom=true)
Definition persistent.cpp:45
std::list< PersistentSettings * > subsystems
Definition persistent.h:68
Define singletons which are not static-space allocated (and thus consume valuable ICTM space).
Definition singleton.h:46
Definition persistent.h:13
Definition persistent.h:28
virtual void reset_defaults()=0
virtual void clear()
Clear local memory in order to save RAM if an object is not needed during runtime but only at startup...
Definition persistent.h:36
virtual std::string name() const =0
virtual void fromJson(JsonObjectConst src, Context c)=0
virtual void toJson(JsonObject target, Context c) const =0