|
static void | buildGroupDescription (RTT::TaskContext *owner, const RTT::PropertyBag &bag, ConfigDescription &config_description, AutoConfig &dflt, AutoConfig &min, AutoConfig &max, const std::string &prefix, const std::string &name, const std::string &type, int32_t parent, int32_t &id) |
|
template<typename T > |
static bool | buildParamDescription (const RTT::base::PropertyBase *pb, const std::string &prefix, Group::_parameters_type ¶ms, AutoConfig &dflt, AutoConfig &min, AutoConfig &max) |
|
static AutoConfig * | getAutoConfigFromProperty (const RTT::base::PropertyBase *pb) |
|
template<typename T , typename ValueType > |
bool | getProperty (const std::string &name, const RTT::PropertyBag &bag, ValueType &value) |
|
template<typename T > |
static bool | propertyFromMessage (AutoConfig &config, Config &msg, const RTT::base::PropertyBase *sample, const std::string ¶m_name) |
|
template<typename T > |
static bool | propertyToMessage (Config &msg, const RTT::base::PropertyBase *pb, const std::string &_prefix) |
|
template<typename T , typename ValueType > |
bool | setProperty (const std::string &name, RTT::PropertyBag &bag, ValueType &value) |
|
template<typename T , typename ValueType >
bool rtt_dynamic_reconfigure::getProperty |
( |
const std::string & |
name, |
|
|
const RTT::PropertyBag & |
bag, |
|
|
ValueType & |
value |
|
) |
| |
Gets a named property in a PropertyBag by its name. If the property does not exists, it is created as a reference to the given value if the type matches or as a copy if the type is different.
Use this function in Updater<ConfigType>::configFromProperties() to fill the ConfigType struct with the values in the PropertyBag.
- Parameters
-
name | the name of the property |
bag | the PropertyBag to be searched for the named property |
value | the value of the property |
Definition at line 723 of file server.h.
template<typename T , typename ValueType >
bool rtt_dynamic_reconfigure::setProperty |
( |
const std::string & |
name, |
|
|
RTT::PropertyBag & |
bag, |
|
|
ValueType & |
value |
|
) |
| |
Sets a named property in a PropertyBag by its name. If the property does not exists, it is created as a reference to the given value if the type matches or as a copy if the type is different.
Use this function in Updater<ConfigType>::propertiesFromConfig() to fill the PropertyBag from config values.
- Parameters
-
name | the name of the property |
bag | the PropertyBag in which the property should be set/added |
value | the value of the property |
Definition at line 690 of file server.h.