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) |
template<typename T , typename ValueType >
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.