#include <AP_EEProm.h>
Inherits AP_EEPromEntry, and AP_Var< type >.
Public Member Functions | |
AP_EEPromVar (type data=0, const char *name="", bool sync=false) | |
The default constrcutor. | |
virtual void | setEntry (float val) |
virtual float | getEntry () |
virtual const char * | getEntryName () |
virtual uint16_t | getEntryId () |
Get the id of the variable. | |
virtual uint16_t | getEntryAddress () |
Get the address of the variable. |
The EEProm Variable template class. This class implements get/set/save/load etc for the abstract template type.
Definition at line 78 of file AP_EEProm.h.
AP_EEPromVar< type >::AP_EEPromVar | ( | type | data = 0 , |
|
const char * | name = "" , |
|||
bool | sync = false | |||
) | [inline] |
The default constrcutor.
Definition at line 82 of file AP_EEProm.h.
virtual float AP_EEPromVar< type >::getEntry | ( | ) | [inline, virtual] |
Definition at line 89 of file AP_EEProm.h.
virtual uint16_t AP_EEPromVar< type >::getEntryAddress | ( | ) | [inline, virtual] |
Get the address of the variable.
Definition at line 96 of file AP_EEProm.h.
virtual uint16_t AP_EEPromVar< type >::getEntryId | ( | ) | [inline, virtual] |
Get the id of the variable.
Definition at line 93 of file AP_EEProm.h.
virtual const char* AP_EEPromVar< type >::getEntryName | ( | ) | [inline, virtual] |
Definition at line 90 of file AP_EEProm.h.
virtual void AP_EEPromVar< type >::setEntry | ( | float | val | ) | [inline, virtual] |
Definition at line 88 of file AP_EEProm.h.