Dilbert
Firmware for the Dilbert interactive badge.
 All Classes Files Functions Variables Enumerations Macros Pages
Public Member Functions | List of all members
SPIFFSConfigService Class Reference

Configuration storage service for saving to the SPI flash file system. More...

#include <SPIFFSConfigService.h>

Inheritance diagram for SPIFFSConfigService:
Inheritance graph
[legend]
Collaboration diagram for SPIFFSConfigService:
Collaboration graph
[legend]

Public Member Functions

virtual bool save (SystemConfigData *data)
 Saves a system configuration. More...
 
virtual bool load (SystemConfigData *data)
 Loads a system configuration. More...
 

Detailed Description

Configuration storage service for saving to the SPI flash file system.

Author
Dan Nixon

Member Function Documentation

bool SPIFFSConfigService::load ( SystemConfigData data)
virtual

Loads a system configuration.

Parameters
dataPointer to a system data to store loaded values in
Returns
True for successful loading

Implements IConfigStorage.

bool SPIFFSConfigService::save ( SystemConfigData data)
virtual

Saves a system configuration.

Parameters
dataPointer to a system data to save
Returns
True for successful saving

Implements IConfigStorage.


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