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 void( | NotifyCallbackSignature) (uint32_t level) |
typedef Server< AutoConfig > | ReconfigureService |
typedef bool( | UpdateCallbackConstSignature) (const RTT::PropertyBag &bag, uint32_t level) |
typedef bool( | UpdateCallbackSignature) (RTT::PropertyBag &bag, uint32_t level) |
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) |
typedef void( rtt_dynamic_reconfigure::NotifyCallbackSignature) (uint32_t level) |
Definition at line 40 of file reconfigure_service.cpp.
typedef bool( rtt_dynamic_reconfigure::UpdateCallbackConstSignature) (const RTT::PropertyBag &bag, uint32_t level) |
typedef bool( rtt_dynamic_reconfigure::UpdateCallbackSignature) (RTT::PropertyBag &bag, uint32_t level) |
|
static |
Definition at line 420 of file auto_config.cpp.
|
static |
Definition at line 387 of file auto_config.cpp.
|
static |
Definition at line 182 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 |
Definition at line 192 of file auto_config.cpp.
|
static |
Definition at line 288 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 |