Public Member Functions | Public Attributes | List of all members
RTC::ConfigBase Class Referenceabstract

ConfigBase abstract class. More...

#include <ConfigAdmin.h>

Inheritance diagram for RTC::ConfigBase:
Inheritance graph
[legend]

Public Member Functions

 ConfigBase (const char *name_, const char *def_val)
 Constructer. More...
 
virtual bool update (const char *val)=0
 Pure virtual function to update configuration parameter values. More...
 
virtual ~ConfigBase (void)
 Virtual Destructor. More...
 

Public Attributes

const char * default_value
 Default value in string format. More...
 
const char * name
 Configuration name. More...
 

Detailed Description

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.

Since
0.4.0

Definition at line 157 of file ConfigAdmin.h.

Constructor & Destructor Documentation

◆ ConfigBase()

RTC::ConfigBase::ConfigBase ( const char *  name_,
const char *  def_val 
)
inline

Constructer.

Constructer

Parameters
name_Configuration name
def_valDefault value in string format

Definition at line 180 of file ConfigAdmin.h.

◆ ~ConfigBase()

virtual RTC::ConfigBase::~ConfigBase ( void  )
inlinevirtual

Virtual Destructor.

Virtual Destructor

Definition at line 198 of file ConfigAdmin.h.

Member Function Documentation

◆ update()

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.

Parameters
valThe parameter values converted into character string format
Returns
Result of the setup

Implemented in RTC::Config< VarType, TransFunc >.

Member Data Documentation

◆ default_value

const char* RTC::ConfigBase::default_value

Default value in string format.

Definition at line 243 of file ConfigAdmin.h.

◆ name

const char* RTC::ConfigBase::name

Configuration name.

Definition at line 234 of file ConfigAdmin.h.


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


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Feb 28 2022 23:00:47