Classes | Typedefs | Functions
rtt_dynamic_reconfigure Namespace Reference

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< AutoConfigReconfigureService
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 &params, AutoConfig &dflt, AutoConfig &min, AutoConfig &max)
static AutoConfiggetAutoConfigFromProperty (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 &param_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 Documentation

typedef void( rtt_dynamic_reconfigure::NotifyCallbackSignature)(uint32_t level)

Definition at line 68 of file server.h.

Definition at line 40 of file reconfigure_service.cpp.

typedef bool( rtt_dynamic_reconfigure::UpdateCallbackConstSignature)(const RTT::PropertyBag &bag, uint32_t level)

Definition at line 67 of file server.h.

Definition at line 66 of file server.h.


Function Documentation

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 420 of file auto_config.cpp.

template<typename T >
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 387 of file auto_config.cpp.

Definition at line 182 of file auto_config.cpp.

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:
namethe name of the property
bagthe PropertyBag to be searched for the named property
valuethe value of the property

Definition at line 723 of file server.h.

template<typename T >
static bool rtt_dynamic_reconfigure::propertyFromMessage ( AutoConfig &  config,
Config &  msg,
const RTT::base::PropertyBase sample,
const std::string &  param_name 
) [static]

Definition at line 192 of file auto_config.cpp.

template<typename T >
static bool rtt_dynamic_reconfigure::propertyToMessage ( Config &  msg,
const RTT::base::PropertyBase pb,
const std::string &  _prefix 
) [static]

Definition at line 288 of file auto_config.cpp.

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:
namethe name of the property
bagthe PropertyBag in which the property should be set/added
valuethe value of the property

Definition at line 690 of file server.h.



rtt_dynamic_reconfigure
Author(s): Johannes Meyer
autogenerated on Mon Apr 3 2017 03:34:31