#include <AP_EEProm.h>
Inherits AP_EEPromEntryI, and AP_Var< type >.
Public Member Functions | |
AP_EEPromVar (type data=0, const char *name="", const char *parentName="", bool sync=false) | |
The default constrcutor. | |
virtual void | setEntry (const float &val) |
virtual const float | getEntry () |
virtual const char * | getEntryName () |
virtual const char * | getEntryParentName () |
virtual const uint16_t & | getEntryId () |
Get the id of the variable. | |
virtual const 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 85 of file AP_EEProm.h.
AP_EEPromVar< type >::AP_EEPromVar | ( | type | data = 0 , |
|
const char * | name = "" , |
|||
const char * | parentName = "" , |
|||
bool | sync = false | |||
) | [inline] |
The default constrcutor.
Definition at line 89 of file AP_EEProm.h.
virtual const float AP_EEPromVar< type >::getEntry | ( | ) | [inline, virtual] |
Definition at line 96 of file AP_EEProm.h.
virtual const uint16_t& AP_EEPromVar< type >::getEntryAddress | ( | ) | [inline, virtual] |
Get the address of the variable.
Definition at line 104 of file AP_EEProm.h.
virtual const uint16_t& AP_EEPromVar< type >::getEntryId | ( | ) | [inline, virtual] |
Get the id of the variable.
Definition at line 101 of file AP_EEProm.h.
virtual const char* AP_EEPromVar< type >::getEntryName | ( | ) | [inline, virtual] |
Definition at line 97 of file AP_EEProm.h.
virtual const char* AP_EEPromVar< type >::getEntryParentName | ( | ) | [inline, virtual] |
Definition at line 98 of file AP_EEProm.h.
virtual void AP_EEPromVar< type >::setEntry | ( | const float & | val | ) | [inline, virtual] |
Definition at line 95 of file AP_EEProm.h.