Lamp-Da 0.1
A compact lantern project
Loading...
Searching...
No Matches
Namespaces | Functions
fileSystem.h File Reference

Interface for the physical components of the file system. More...

Go to the source code of this file.

Namespaces

namespace  lampda
 Program scope.
 
namespace  lampda::physical
 Handle the physical modules drivers.
 
namespace  lampda::physical::fileSystem
 Handle the interaction with the file system.
 
namespace  lampda::physical::fileSystem::system
 internal system file space.
 
namespace  lampda::physical::fileSystem::user
 user file space.
 

Functions

void lampda::physical::fileSystem::shutdown ()
 call once on program stop.
 
void lampda::physical::fileSystem::clear ()
 clear the stored values in the currently loaded file system.
 
void lampda::physical::fileSystem::clear_system_parameters ()
 Clear the system parameters.
 
void lampda::physical::fileSystem::clear_internal_fs ()
 hard clean of the whole filesystem, you will loose all stored data.
 
bool lampda::physical::fileSystem::system::doKeyExists (const uint32_t key)
 Return true if the given key exists in the filesystem.
 
bool lampda::physical::fileSystem::system::get_value (const uint32_t key, uint32_t &value)
 Check and return a value stored in a filesystem.
 
void lampda::physical::fileSystem::system::set_value (const uint32_t key, const uint32_t value)
 Store a key/value in the filesystem.
 
uint32_t lampda::physical::fileSystem::system::dropMatchingKeys (const uint32_t bitMatch, const uint32_t bitSelect=0xffffffff)
 Drop all keys using the given bit prefix.
 
void lampda::physical::fileSystem::system::write_to_file ()
 Write the system parameters to a file.
 
bool lampda::physical::fileSystem::system::load_from_file ()
 Load system values from memory.
 
bool lampda::physical::fileSystem::user::doKeyExists (const uint32_t key)
 Return true if the given key exists in the filesystem.
 
bool lampda::physical::fileSystem::user::get_value (const uint32_t key, uint32_t &value)
 Check and return a value stored in a filesystem.
 
void lampda::physical::fileSystem::user::set_value (const uint32_t key, const uint32_t value)
 Store a key/value in the filesystem.
 
uint32_t lampda::physical::fileSystem::user::dropMatchingKeys (const uint32_t bitMatch, const uint32_t bitSelect=0xffffffff)
 Drop all keys using the given bit prefix.
 
void lampda::physical::fileSystem::user::write_to_file ()
 Write the user parameters to a file.
 
bool lampda::physical::fileSystem::user::load_from_file ()
 Load user values from memory.
 

Detailed Description

Interface for the physical components of the file system.