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

Used to store system configuration data. More...

#include <SystemConfigData.h>

Public Member Functions

void setDefaultValues ()
 Sets default values of configuration options.
 
uint16_t & value (Config config)
 Gets the value of a configuration option. More...
 
uint16_t delta (Config config) const
 Gets a suitable "step" in value for a given configuration option. More...
 
char * name (Config config)
 Gets the name of a configuration option. More...
 

Static Public Attributes

static const size_t NUM_CONFIGS = 5
 

Detailed Description

Used to store system configuration data.

Author
Dan Nixon

Member Function Documentation

uint16_t SystemConfigData::delta ( Config  config) const
inline

Gets a suitable "step" in value for a given configuration option.

Parameters
configOption to get delta for
Returns
Delta value
char* SystemConfigData::name ( Config  config)
inline

Gets the name of a configuration option.

Parameters
configOption to get name for
Returns
Name
uint16_t& SystemConfigData::value ( Config  config)
inline

Gets the value of a configuration option.

Parameters
configOption to get value for
Returns
Value

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