|
Dilbert
Firmware for the Dilbert interactive badge.
|
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... | |
| SystemConfigData & | getConfig () |
| Gets the system configuration. More... | |
Static Public Member Functions | |
| static ConfigService & | Instance () |
| Gets the configuration service. More... | |
provides access to system confgiuration.
|
inline |
Gets the system configuration.
|
inlinestatic |
Gets the configuration service.
| bool ConfigService::loadFrom | ( | IConfigStorage * | storage | ) |
Loads the system configuration from a given storage service.
| storage | Storage to load from |
| bool ConfigService::saveTo | ( | IConfigStorage * | storage | ) |
Saves the system configuration to a given storage service.
| storage | Storage to save to |
1.8.6