Classes | |
| class | AutoConfig |
| class | AutoConfigDataSource |
| struct | dynamic_reconfigure_traits |
| struct | dynamic_reconfigure_traits< AutoConfig > |
| struct | PropertyTypeInfo |
| struct | PropertyTypeInfo< bool > |
| struct | PropertyTypeInfo< double > |
| struct | PropertyTypeInfo< float > |
| struct | PropertyTypeInfo< int > |
| struct | PropertyTypeInfo< std::string > |
| struct | PropertyTypeInfo< unsigned int > |
| class | Server |
| struct | Updater |
| struct | Updater< AutoConfig > |
Typedefs | |
| typedef Server< AutoConfig > | ReconfigureService |
Functions | |
| 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) |
Definition at line 40 of file reconfigure_service.cpp.
| static void rtt_dynamic_reconfigure::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 | ||
| ) | [static] |
Definition at line 408 of file auto_config.cpp.
| static bool rtt_dynamic_reconfigure::buildParamDescription | ( | const RTT::base::PropertyBase * | pb, |
| const std::string & | prefix, | ||
| Group::_parameters_type & | params, | ||
| AutoConfig & | dflt, | ||
| AutoConfig & | min, | ||
| AutoConfig & | max | ||
| ) | [static] |
Definition at line 375 of file auto_config.cpp.
| static AutoConfig* rtt_dynamic_reconfigure::getAutoConfigFromProperty | ( | const RTT::base::PropertyBase * | pb | ) | [static] |
Definition at line 179 of file auto_config.cpp.
| 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.
| name | the name of the property |
| bag | the PropertyBag to be searched for the named property |
| value | the value of the property |
| static bool rtt_dynamic_reconfigure::propertyFromMessage | ( | AutoConfig & | config, |
| Config & | msg, | ||
| const RTT::base::PropertyBase * | sample, | ||
| const std::string & | param_name | ||
| ) | [static] |
Definition at line 189 of file auto_config.cpp.
| static bool rtt_dynamic_reconfigure::propertyToMessage | ( | Config & | msg, |
| const RTT::base::PropertyBase * | pb, | ||
| const std::string & | _prefix | ||
| ) | [static] |
Definition at line 276 of file auto_config.cpp.
| 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.
| name | the name of the property |
| bag | the PropertyBag in which the property should be set/added |
| value | the value of the property |