Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Private Types | Static Private Member Functions | Static Private Attributes
rtt_dynamic_reconfigure::AutoConfig Class Reference

#include <auto_config.h>

Inheritance diagram for rtt_dynamic_reconfigure::AutoConfig:
Inheritance graph
[legend]

List of all members.

Classes

struct  Cache

Public Types

typedef Server< AutoConfigServerType

Public Member Functions

void __clamp__ (const ServerType *server)
bool __fromMessage__ (dynamic_reconfigure::Config &msg, const AutoConfig &sample)
void __fromServer__ (const ros::NodeHandle &nh)
uint32_t __level__ (const AutoConfig &config) const
void __toMessage__ (dynamic_reconfigure::Config &msg) const
void __toServer__ (const ros::NodeHandle &nh) const
 AutoConfig ()
 AutoConfig (const RTT::PropertyBag &bag)
bool fromProperties (const RTT::PropertyBag &)
bool updateProperties (RTT::PropertyBag &) const
 ~AutoConfig ()

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< CacheCachePtr

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_

Detailed Description

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.


Member Typedef Documentation

typedef boost::shared_ptr<Cache> rtt_dynamic_reconfigure::AutoConfig::CachePtr [private]

Definition at line 83 of file auto_config.h.

Definition at line 49 of file auto_config.h.


Constructor & Destructor Documentation

Definition at line 104 of file auto_config.cpp.

Definition at line 109 of file auto_config.cpp.

Definition at line 115 of file auto_config.cpp.


Member Function Documentation

Definition at line 340 of file auto_config.cpp.

bool rtt_dynamic_reconfigure::AutoConfig::__fromMessage__ ( dynamic_reconfigure::Config &  msg,
const AutoConfig sample 
)
static bool rtt_dynamic_reconfigure::AutoConfig::__fromMessage__ ( AutoConfig config,
dynamic_reconfigure::Config &  msg,
const AutoConfig sample 
) [static]

Definition at line 335 of file auto_config.cpp.

Definition at line 523 of file auto_config.cpp.

dynamic_reconfigure::ConfigDescriptionPtr rtt_dynamic_reconfigure::AutoConfig::__getDescriptionMessage__ ( const ServerType server) [static]

Definition at line 516 of file auto_config.cpp.

Definition at line 530 of file auto_config.cpp.

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.

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::__toMessage__ ( const AutoConfig config,
dynamic_reconfigure::Config &  msg 
) [static]

Definition at line 330 of file auto_config.cpp.

void rtt_dynamic_reconfigure::AutoConfig::buildCache ( const ServerType server,
RTT::TaskContext owner 
) [static, private]

Definition at line 496 of file auto_config.cpp.

Definition at line 360 of file auto_config.cpp.

Definition at line 353 of file auto_config.cpp.


Member Data Documentation

Definition at line 85 of file auto_config.h.

boost::shared_mutex rtt_dynamic_reconfigure::AutoConfig::cache_mutex_ [static, private]

Definition at line 86 of file auto_config.h.

Definition at line 55 of file auto_config.h.

Definition at line 52 of file auto_config.h.

Definition at line 54 of file auto_config.h.

Definition at line 51 of file auto_config.h.

Definition at line 56 of file auto_config.h.

Reimplemented from RTT::PropertyBag.

Definition at line 53 of file auto_config.h.


The documentation for this class was generated from the following files:


rtt_dynamic_reconfigure
Author(s): Johannes Meyer
autogenerated on Thu Jun 6 2019 18:05:55