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::SimpleConfig Class Reference

#include <SimpleConfig.hpp>

Inheritance diagram for eeros::SimpleConfig:
Collaboration diagram for eeros::SimpleConfig:

Public Member Functions

 SimpleConfig (const char *path=nullptr)
 
virtual ~SimpleConfig ()
 
virtual bool save (const char *path=nullptr)
 
virtual bool load (const char *path=nullptr)
 
- Public Member Functions inherited from eeros::Config
 Config (const char *path=nullptr)
 
virtual ~Config ()
 
virtual void loadDefaults ()
 

Static Public Attributes

static constexpr int buffer_size = 256
 

Additional Inherited Members

- Protected Member Functions inherited from eeros::Config
virtual void add (const char *name, int &value)
 
virtual void add (const char *name, double &value)
 
- Protected Attributes inherited from eeros::Config
const char * path
 
std::map< const char
*, ConfigPropertyAccessor,
CharPtrCompare
properties
 

Constructor & Destructor Documentation

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

Member Function Documentation

bool SimpleConfig::load ( const char *  path = nullptr)
virtual

Implements eeros::Config.

bool SimpleConfig::save ( const char *  path = nullptr)
virtual

Implements eeros::Config.

Member Data Documentation

constexpr int eeros::SimpleConfig::buffer_size = 256
static

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