EEROS  0.4.1.0
API for the EEROS Real-Time Robotics Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
eeros::Config Class Referenceabstract

#include <Config.hpp>

Inheritance diagram for eeros::Config:

Public Member Functions

 Config (const char *path=nullptr)
 
virtual ~Config ()
 
virtual void loadDefaults ()
 
virtual bool save (const char *path=nullptr)=0
 
virtual bool load (const char *path=nullptr)=0
 

Protected Member Functions

virtual void add (const char *name, int &value)
 
virtual void add (const char *name, double &value)
 

Protected Attributes

const char * path
 
std::map< const char
*, ConfigPropertyAccessor,
CharPtrCompare
properties
 

Constructor & Destructor Documentation

Config::Config ( const char *  path = nullptr)
Config::~Config ( )
virtual

Member Function Documentation

void Config::add ( const char *  name,
int &  value 
)
protectedvirtual

Here is the caller graph for this function:

void Config::add ( const char *  name,
double &  value 
)
protectedvirtual
virtual bool eeros::Config::load ( const char *  path = nullptr)
pure virtual

Implemented in eeros::SimpleConfig.

void Config::loadDefaults ( )
virtual

Reimplemented in TestConfig.

virtual bool eeros::Config::save ( const char *  path = nullptr)
pure virtual

Implemented in eeros::SimpleConfig.

Member Data Documentation

const char* eeros::Config::path
protected
std::map<const char*, ConfigPropertyAccessor, CharPtrCompare> eeros::Config::properties
protected

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