Public Member Functions

AP_EEPromVar< type > Class Template Reference

#include <AP_EEProm.h>

Inherits AP_EEPromEntry, and AP_Var< type >.

Collaboration diagram for AP_EEPromVar< type >:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

template<class type>
class AP_EEPromVar< type >

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.


Constructor & Destructor Documentation

template<class type >
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.


Member Function Documentation

template<class type >
virtual float AP_EEPromVar< type >::getEntry (  )  [inline, virtual]

Definition at line 89 of file AP_EEProm.h.

template<class type >
virtual uint16_t AP_EEPromVar< type >::getEntryAddress (  )  [inline, virtual]

Get the address of the variable.

Definition at line 96 of file AP_EEProm.h.

template<class type >
virtual uint16_t AP_EEPromVar< type >::getEntryId (  )  [inline, virtual]

Get the id of the variable.

Definition at line 93 of file AP_EEProm.h.

template<class type >
virtual const char* AP_EEPromVar< type >::getEntryName (  )  [inline, virtual]

Definition at line 90 of file AP_EEProm.h.

template<class type >
virtual void AP_EEPromVar< type >::setEntry ( float  val  )  [inline, virtual]

Definition at line 88 of file AP_EEProm.h.


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