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

provides access to system confgiuration. More...

#include <ConfigService.h>

Public Member Functions

void setStorage (IConfigStorage *storage)
 
bool load ()
 
bool save ()
 
bool loadFrom (IConfigStorage *storage)
 Loads the system configuration from a given storage service. More...
 
bool saveTo (IConfigStorage *storage)
 Saves the system configuration to a given storage service. More...
 
SystemConfigDatagetConfig ()
 Gets the system configuration. More...
 

Static Public Member Functions

static ConfigServiceInstance ()
 Gets the configuration service. More...
 

Detailed Description

provides access to system confgiuration.

Author
Dan Nixon

Member Function Documentation

SystemConfigData& ConfigService::getConfig ( )
inline

Gets the system configuration.

Returns
System configuration data
static ConfigService& ConfigService::Instance ( )
inlinestatic

Gets the configuration service.

Returns
Instance of the configuration service
bool ConfigService::loadFrom ( IConfigStorage storage)

Loads the system configuration from a given storage service.

Parameters
storageStorage to load from
Returns
True for a successful load
bool ConfigService::saveTo ( IConfigStorage storage)

Saves the system configuration to a given storage service.

Parameters
storageStorage to save to
Returns
True for a successful save

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