ConfigBase abstract class. More...
#include <ConfigAdmin.h>
Public Member Functions | |
ConfigBase (const char *name_, const char *def_val) | |
Constructer. | |
virtual | ~ConfigBase (void) |
Virtual Destructor. | |
virtual bool | update (const char *val)=0 |
Pure virtual function to update configuration parameter values. | |
Public Attributes | |
const char * | name |
Configuration name. | |
const char * | default_value |
Default value in string format. |
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.
RTC::ConfigBase::ConfigBase | ( | const char * | name_, | |
const char * | def_val | |||
) | [inline] |
Constructer.
Constructer
name_ | Configuration name | |
def_val | Default value in string format |
virtual RTC::ConfigBase::~ConfigBase | ( | void | ) | [inline, virtual] |
Virtual Destructor.
Virtual Destructor
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.
const char* RTC::ConfigBase::name |
Configuration name.