#include <auto_config.h>
Classes | |
struct | Cache |
Public Types | |
typedef Server< AutoConfig > | ServerType |
Public Types inherited from RTT::PropertyBag | |
typedef Properties::const_iterator | const_iterator |
typedef Properties::iterator | iterator |
typedef std::vector< std::string > | Names |
typedef std::vector< base::PropertyBase * > | Properties |
typedef Properties | PropertyContainerType |
Static Public Member Functions | |
static bool | __fromMessage__ (AutoConfig &config, dynamic_reconfigure::Config &msg, const AutoConfig &sample) |
static const AutoConfig & | __getDefault__ (const ServerType *server) |
static dynamic_reconfigure::ConfigDescriptionPtr | __getDescriptionMessage__ (const ServerType *server) |
static const AutoConfig & | __getMax__ (const ServerType *server) |
static const AutoConfig & | __getMin__ (const ServerType *server) |
static void | __refreshDescription__ (const ServerType *server) |
static void | __toMessage__ (const AutoConfig &config, dynamic_reconfigure::Config &msg) |
Public Attributes | |
int | id |
std::string | name |
int | parent |
std::string | prefix_ |
bool | state |
std::string | type |
Private Types | |
typedef boost::shared_ptr< Cache > | CachePtr |
Static Private Member Functions | |
static void | buildCache (const ServerType *server, RTT::TaskContext *owner) |
Static Private Attributes | |
static std::map< const ServerType *, CachePtr > | cache_ |
static boost::shared_mutex | cache_mutex_ |
Additional Inherited Members | |
Protected Attributes inherited from RTT::PropertyBag | |
Properties | mowned_props |
Properties | mproperties |
std::string | type |
The AutoConfig class serves as a generic config type for rtt_dynamic_reconfigure::Server that dynamically creates the Config and ConfigDescription from the owner TaskContext's properties.
Definition at line 46 of file auto_config.h.
|
private |
Definition at line 83 of file auto_config.h.
Definition at line 49 of file auto_config.h.
rtt_dynamic_reconfigure::AutoConfig::AutoConfig | ( | ) |
Definition at line 104 of file auto_config.cpp.
rtt_dynamic_reconfigure::AutoConfig::AutoConfig | ( | const RTT::PropertyBag & | bag | ) |
Definition at line 109 of file auto_config.cpp.
rtt_dynamic_reconfigure::AutoConfig::~AutoConfig | ( | ) |
Definition at line 115 of file auto_config.cpp.
void rtt_dynamic_reconfigure::AutoConfig::__clamp__ | ( | const ServerType * | server | ) |
Definition at line 340 of file auto_config.cpp.
bool rtt_dynamic_reconfigure::AutoConfig::__fromMessage__ | ( | dynamic_reconfigure::Config & | msg, |
const AutoConfig & | sample | ||
) |
|
static |
void rtt_dynamic_reconfigure::AutoConfig::__fromServer__ | ( | const ros::NodeHandle & | nh | ) |
Definition at line 335 of file auto_config.cpp.
|
static |
Definition at line 523 of file auto_config.cpp.
|
static |
Definition at line 516 of file auto_config.cpp.
|
static |
Definition at line 530 of file auto_config.cpp.
|
static |
Definition at line 537 of file auto_config.cpp.
uint32_t rtt_dynamic_reconfigure::AutoConfig::__level__ | ( | const AutoConfig & | config | ) | const |
Definition at line 348 of file auto_config.cpp.
|
static |
Definition at line 544 of file auto_config.cpp.
void rtt_dynamic_reconfigure::AutoConfig::__toMessage__ | ( | dynamic_reconfigure::Config & | msg | ) | const |
|
static |
void rtt_dynamic_reconfigure::AutoConfig::__toServer__ | ( | const ros::NodeHandle & | nh | ) | const |
Definition at line 330 of file auto_config.cpp.
|
staticprivate |
Definition at line 496 of file auto_config.cpp.
bool rtt_dynamic_reconfigure::AutoConfig::fromProperties | ( | const RTT::PropertyBag & | source | ) |
Definition at line 360 of file auto_config.cpp.
bool rtt_dynamic_reconfigure::AutoConfig::updateProperties | ( | RTT::PropertyBag & | target | ) | const |
Definition at line 353 of file auto_config.cpp.
|
staticprivate |
Definition at line 85 of file auto_config.h.
|
staticprivate |
Definition at line 86 of file auto_config.h.
int rtt_dynamic_reconfigure::AutoConfig::id |
Definition at line 55 of file auto_config.h.
std::string rtt_dynamic_reconfigure::AutoConfig::name |
Definition at line 52 of file auto_config.h.
int rtt_dynamic_reconfigure::AutoConfig::parent |
Definition at line 54 of file auto_config.h.
std::string rtt_dynamic_reconfigure::AutoConfig::prefix_ |
Definition at line 51 of file auto_config.h.
bool rtt_dynamic_reconfigure::AutoConfig::state |
Definition at line 56 of file auto_config.h.
std::string rtt_dynamic_reconfigure::AutoConfig::type |
Definition at line 53 of file auto_config.h.