|
roo_prefs
API Documentation for roo_prefs
|
#include "roo_logging/stream.h"Go to the source code of this file.
Namespaces | |
| namespace | roo_prefs |
Similar to Pref<T>, but does not immediately store written data in persistent storage. Instead, writes with a delay, which depends on whether the data stabilized or keeps changing. | |
Enumerations | |
| enum class | roo_prefs::ReadResult { roo_prefs::kOk , roo_prefs::kNotFound , roo_prefs::kWrongType , roo_prefs::kError } |
| Result of reading a value from storage. More... | |
| enum class | roo_prefs::WriteResult { roo_prefs::kOk , roo_prefs::kError } |
| Result of writing a value to storage. More... | |
| enum class | roo_prefs::ClearResult { roo_prefs::kOk , roo_prefs::kError } |
| Result of clearing a value from storage. More... | |
Functions | |
| const char * | roo_prefs::ReadResultToString (ReadResult result) |
| const char * | roo_prefs::WriteResultToString (WriteResult result) |
| const char * | roo_prefs::ClearResultToString (ClearResult result) |
| roo_logging::Stream & | roo_prefs::operator<< (roo_logging::Stream &os, ReadResult result) |
| roo_logging::Stream & | roo_prefs::operator<< (roo_logging::Stream &os, WriteResult result) |
| roo_logging::Stream & | roo_prefs::operator<< (roo_logging::Stream &os, ClearResult result) |
Variables | |
| constexpr ReadResult | roo_prefs::READ_OK = ReadResult::kOk |
| constexpr ReadResult | roo_prefs::READ_NOT_FOUND = ReadResult::kNotFound |
| constexpr ReadResult | roo_prefs::READ_WRONG_TYPE = ReadResult::kWrongType |
| constexpr ReadResult | roo_prefs::READ_ERROR = ReadResult::kError |
| constexpr WriteResult | roo_prefs::WRITE_OK = WriteResult::kOk |
| constexpr WriteResult | roo_prefs::WRITE_ERROR = WriteResult::kError |
| constexpr ClearResult | roo_prefs::CLEAR_OK = ClearResult::kOk |
| constexpr ClearResult | roo_prefs::CLEAR_ERROR = ClearResult::kError |