Mutila: Mouse's Utilities for Arduino
Oft-used utilities: debouncing buttons, averaging samples, and so on.
Public Member Functions | List of all members
NamedPersistentSetting< T > Class Template Reference
Inheritance diagram for NamedPersistentSetting< T >:
Inheritance graph

Public Member Functions

 NamedPersistentSetting (T minimum, T maximum, T defaultValue, const char *name, uint8_t copies=1, int32_t eepromOffset=-1)
 
const String & getName ()
 
void dump ()
 
- Public Member Functions inherited from PersistentSetting< T >
 PersistentSetting (T minimum, T maximum, T defaultValue, uint8_t copies=1, int32_t eepromOffset=-1)
 
bool isValid (T v)
 
void reset (bool saveIt=false)
 
getValueAt (uint16_t address)
 
uint16_t counterOffset (uint8_t idx)
 
uint16_t dataOffset (uint8_t idx)
 
uint8_t getCurrentIdx ()
 
load ()
 
void save ()
 
get ()
 
getMinimum ()
 
getMaximum ()
 
getDefault ()
 
operator= (T v)
 
bool set (T v, bool saveIt=false)
 
uint16_t size ()
 
void dump ()
 

Additional Inherited Members

- Protected Attributes inherited from PersistentSetting< T >
_value
 
_minimum
 
_maximum
 
_defaultValue
 

Detailed Description

template<class T>
class NamedPersistentSetting< T >

Definition at line 322 of file PersistentSetting.h.


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