Skyward boardcore
|
Registry Backend class used to save and load data to the designated storage/memory. More...
#include <RegistryBackend.h>
Public Member Functions | |
virtual bool | start ()=0 |
Starts the backend, eventually used in backends that need to start classes and other things e.g. an ActiveObject. | |
virtual bool | load (std::vector< uint8_t > &buf)=0 |
Loads into the buffer the saved configuration from the storage/memory. | |
virtual bool | save (std::vector< uint8_t > &buf)=0 |
Saves the data in the buf to the storage/memory. | |
Registry Backend class used to save and load data to the designated storage/memory.
Definition at line 36 of file RegistryBackend.h.
|
pure virtual |
Loads into the buffer the saved configuration from the storage/memory.
buf | The buffer where the data will be loaded from the storage/memory if any is saved. |
Implemented in Boardcore::FileBackend, and Boardcore::DummyBackend.
|
pure virtual |
Saves the data in the buf to the storage/memory.
buf | The buf vector with the data to be saved. |
Implemented in Boardcore::FileBackend, and Boardcore::DummyBackend.
|
pure virtual |
Starts the backend, eventually used in backends that need to start classes and other things e.g. an ActiveObject.
Implemented in Boardcore::FileBackend, and Boardcore::DummyBackend.