Skyward boardcore
Loading...
Searching...
No Matches
Boardcore::DummyBackend Class Referencefinal

Dummy no-op backend. More...

#include <RegistryBackend.h>

Inheritance diagram for Boardcore::DummyBackend:
Collaboration diagram for Boardcore::DummyBackend:

Public Member Functions

bool start () override
 Starts the backend, eventually used in backends that need to start classes and other things e.g. an ActiveObject.
 
bool load (std::vector< uint8_t > &buf) override
 Loads into the buffer the saved configuration from the storage/memory.
 
bool save (std::vector< uint8_t > &buf) override
 Saves the data in the buf to the storage/memory.
 

Detailed Description

Dummy no-op backend.

Definition at line 71 of file RegistryBackend.h.

Member Function Documentation

◆ load()

bool Boardcore::DummyBackend::load ( std::vector< uint8_t > & buf)
inlineoverridevirtual

Loads into the buffer the saved configuration from the storage/memory.

Parameters
bufThe buffer where the data will be loaded from the storage/memory if any is saved.
Returns
true if successful, false otherwise.

Implements Boardcore::RegistryBackend.

Definition at line 76 of file RegistryBackend.h.

◆ save()

bool Boardcore::DummyBackend::save ( std::vector< uint8_t > & buf)
inlineoverridevirtual

Saves the data in the buf to the storage/memory.

Parameters
bufThe buf vector with the data to be saved.
Returns
true if successful, false otherwise.

Implements Boardcore::RegistryBackend.

Definition at line 78 of file RegistryBackend.h.

◆ start()

bool Boardcore::DummyBackend::start ( )
inlineoverridevirtual

Starts the backend, eventually used in backends that need to start classes and other things e.g. an ActiveObject.

Returns
true if successful, false otherwise

Implements Boardcore::RegistryBackend.

Definition at line 74 of file RegistryBackend.h.


The documentation for this class was generated from the following file: