Public Member Functions

AP_EEPromVar< type > Class Template Reference

#include <AP_EEProm.h>

Inherits AP_EEPromEntryI, 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="", 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.

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 85 of file AP_EEProm.h.


Constructor & Destructor Documentation

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


Member Function Documentation

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

Definition at line 96 of file AP_EEProm.h.

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

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

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

Definition at line 97 of file AP_EEProm.h.

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

Definition at line 98 of file AP_EEProm.h.

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

Definition at line 95 of file AP_EEProm.h.


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