template<typename VarType, typename TransFunc = bool (*)(VarType&, const char*)>
class RTC::Config< VarType, TransFunc >
Config class.
Class to hold the configuration parameter information. Specify the data type of the configuration as <VarType> Specify transformation function to convert data type set as <TransFunc> into string format.
- Parameters
-
VarType | Cariable to hold configuration parameter |
TransFunc | Transformation function to transform the stored data type into string format. |
- Since
- 0.4.0
Definition at line 283 of file ConfigAdmin.h.
template<typename VarType, typename TransFunc = bool (*)(VarType&, const char*)>
virtual bool RTC::Config< VarType, TransFunc >::update |
( |
const char * |
val | ) |
|
|
inlinevirtual |
Update a bind parameter value.
Update configuration paramater by the configuration value.
- Parameters
-
val | The parameter values converted into character string format |
- Returns
- Update result (Successful:true, Failed:false)
Implements RTC::ConfigBase.
Definition at line 358 of file ConfigAdmin.h.