39bool get_value(
const uint32_t key, uint32_t& value);
45void set_value(
const uint32_t key,
const uint32_t value);
55uint32_t
dropMatchingKeys(
const uint32_t bitMatch,
const uint32_t bitSelect = 0xffffffff);
82bool get_value(
const uint32_t key, uint32_t& value);
88void set_value(
const uint32_t key,
const uint32_t value);
98uint32_t
dropMatchingKeys(
const uint32_t bitMatch,
const uint32_t bitSelect = 0xffffffff);
bool load_from_file()
Load system values from memory.
Definition: fileSystem.cpp:304
bool doKeyExists(const uint32_t key)
Return true if the given key exists in the filesystem.
Definition: fileSystem.cpp:224
void write_to_file()
Write the system parameters to a file.
Definition: fileSystem.cpp:282
uint32_t dropMatchingKeys(const uint32_t bitMatch, const uint32_t bitSelect)
Drop all keys using the given bit prefix.
Definition: fileSystem.cpp:256
void set_value(const uint32_t key, const uint32_t value)
Store a key/value in the filesystem.
Definition: fileSystem.cpp:247
bool get_value(const uint32_t key, uint32_t &value)
Check and return a value stored in a filesystem.
Definition: fileSystem.cpp:226
void write_to_file()
Write the user parameters to a file.
Definition: fileSystem.cpp:382
bool load_from_file()
Load user values from memory.
Definition: fileSystem.cpp:406
void set_value(const uint32_t key, const uint32_t value)
Store a key/value in the filesystem.
Definition: fileSystem.cpp:347
bool doKeyExists(const uint32_t key)
Return true if the given key exists in the filesystem.
Definition: fileSystem.cpp:324
uint32_t dropMatchingKeys(const uint32_t bitMatch, const uint32_t bitSelect)
Drop all keys using the given bit prefix.
Definition: fileSystem.cpp:356
bool get_value(const uint32_t key, uint32_t &value)
Check and return a value stored in a filesystem.
Definition: fileSystem.cpp:326
void shutdown()
call once on program stop.
Definition: fileSystem.cpp:70
void clear()
clear the stored values in the currently loaded file system.
Definition: fileSystem.cpp:79
void clear_system_parameters()
Clear the system parameters.
Definition: fileSystem.cpp:87
void clear_internal_fs()
hard clean of the whole filesystem, you will loose all stored data.
Definition: fileSystem.cpp:89
Program scope.
Definition: control_fixed_modes.hpp:12