ConfigBase abstract class. More...
#include <ConfigAdmin.h>
Public Member Functions | |
ConfigBase (const char *name_, const char *def_val) | |
Constructer. | |
virtual bool | update (const char *val)=0 |
Pure virtual function to update configuration parameter values. | |
virtual | ~ConfigBase (void) |
Virtual Destructor. | |
Public Attributes | |
const char * | default_value |
Default value in string format. | |
const char * | name |
Configuration name. |
ConfigBase abstract class.
This is the abstract interface class to hold various configuration information. Concrete configuration classes must implement the following pure virtual functions.
This class provides public interface as follows.
Definition at line 157 of file ConfigAdmin.h.
RTC::ConfigBase::ConfigBase | ( | const char * | name_, |
const char * | def_val | ||
) | [inline] |
Constructer.
Constructer
name_ | Configuration name |
def_val | Default value in string format |
Definition at line 180 of file ConfigAdmin.h.
virtual RTC::ConfigBase::~ConfigBase | ( | void | ) | [inline, virtual] |
virtual bool RTC::ConfigBase::update | ( | const char * | val | ) | [pure virtual] |
Pure virtual function to update configuration parameter values.
Pure virtual function to update configuration parameter by the configuration value.
val | The parameter values converted into character string format |
Implemented in RTC::Config< VarType, TransFunc >.
const char* RTC::ConfigBase::default_value |
Default value in string format.
Definition at line 243 of file ConfigAdmin.h.
const char* RTC::ConfigBase::name |
Configuration name.
Definition at line 234 of file ConfigAdmin.h.