Public Types | Static Public Member Functions | Static Public Attributes
rtt_dynamic_reconfigure::dynamic_reconfigure_traits< ConfigType > Struct Template Reference

#include <server.h>

List of all members.

Public Types

typedef Server< ConfigType > ServerType

Static Public Member Functions

static void clamp (ConfigType &config, const ServerType *)
static void fromMessage (ConfigType &config, dynamic_reconfigure::Config &message, const ServerType *)
static
RTT::internal::AssignableDataSource
< RTT::PropertyBag >
::shared_ptr 
getDataSource (ConfigType &config, const ServerType *server)
static void getDefault (ConfigType &dflt, const ServerType *)
static
dynamic_reconfigure::ConfigDescriptionPtr 
getDescriptionMessage (const ServerType *)
static void getMax (ConfigType &max, const ServerType *)
static void getMin (ConfigType &min, const ServerType *)
static void refreshDescription (const ServerType *)
static void toMessage (ConfigType &config, dynamic_reconfigure::Config &message, const ServerType *)

Static Public Attributes

static const bool canRefresh = false

Detailed Description

template<class ConfigType>
struct rtt_dynamic_reconfigure::dynamic_reconfigure_traits< ConfigType >

Definition at line 82 of file server.h.


Member Typedef Documentation

template<class ConfigType >
typedef Server<ConfigType> rtt_dynamic_reconfigure::dynamic_reconfigure_traits< ConfigType >::ServerType

Definition at line 83 of file server.h.


Member Function Documentation

template<class ConfigType >
static void rtt_dynamic_reconfigure::dynamic_reconfigure_traits< ConfigType >::clamp ( ConfigType &  config,
const ServerType  
) [inline, static]

Clamp the values in the ConfigType instance to the limits given in the config description/properties

Parameters:
configreferencte to the ConfigType instance to be clamped
serverpointer to the rtt_dynamic_reconfigure server instance (only used for AutoConfig)

Definition at line 153 of file server.h.

template<class ConfigType >
static void rtt_dynamic_reconfigure::dynamic_reconfigure_traits< ConfigType >::fromMessage ( ConfigType &  config,
dynamic_reconfigure::Config &  message,
const ServerType  
) [inline, static]

Convert a dynamic_reconfigure::Config message to an instance of ConfigType

Parameters:
configreference to the ConfigType instance to be filled
messagereference to the Config message to be read
serverpointer to the rtt_dynamic_reconfigure server instance (only used for AutoConfig)

Definition at line 145 of file server.h.

template<class ConfigType >
static RTT::internal::AssignableDataSource<RTT::PropertyBag>::shared_ptr rtt_dynamic_reconfigure::dynamic_reconfigure_traits< ConfigType >::getDataSource ( ConfigType &  config,
const ServerType server 
) [inline, static]

Creates a new RTT::internal::AssignableDataSource<RTT::PropertyBag> filled with properties from a ConfigType instance.

Parameters:
configreferencte to the ConfigType instance to be read
serverpointer to the rtt_dynamic_reconfigure server instance whose updater is going to be used

Definition at line 161 of file server.h.

template<class ConfigType >
static void rtt_dynamic_reconfigure::dynamic_reconfigure_traits< ConfigType >::getDefault ( ConfigType &  dflt,
const ServerType  
) [inline, static]

Get the default values of config ConfigType.

Parameters:
configreference to the config instance to be filled with the default values
serverpointer to the rtt_dynamic_reconfigure server instance (only used for AutoConfig)

Definition at line 107 of file server.h.

template<class ConfigType >
static dynamic_reconfigure::ConfigDescriptionPtr rtt_dynamic_reconfigure::dynamic_reconfigure_traits< ConfigType >::getDescriptionMessage ( const ServerType ) [inline, static]

Get the ConfigDescription of config ConfigType.

Parameters:
serverpointer to the rtt_dynamic_reconfigure server instance (only used for AutoConfig)
Returns:
a shared_ptr to the dynamic_reconfigure::ConfigDescription for ConfigType

Definition at line 115 of file server.h.

template<class ConfigType >
static void rtt_dynamic_reconfigure::dynamic_reconfigure_traits< ConfigType >::getMax ( ConfigType &  max,
const ServerType  
) [inline, static]

Get the maximum values of config ConfigType.

Parameters:
configreference to the config instance to be filled with the maximum values
serverpointer to the rtt_dynamic_reconfigure server instance (only used for AutoConfig)

Definition at line 99 of file server.h.

template<class ConfigType >
static void rtt_dynamic_reconfigure::dynamic_reconfigure_traits< ConfigType >::getMin ( ConfigType &  min,
const ServerType  
) [inline, static]

Get the minimum values of config ConfigType.

Parameters:
configreference to the config instance to be filled with the minimum values
serverpointer to the rtt_dynamic_reconfigure server instance (only used for AutoConfig)

Definition at line 91 of file server.h.

template<class ConfigType >
static void rtt_dynamic_reconfigure::dynamic_reconfigure_traits< ConfigType >::refreshDescription ( const ServerType ) [inline, static]

Refresh the ConfigDescription from the properties of the owning TaskContext (no-op unless for ConfigType AutoConfig)

Parameters:
serverpointer to the rtt_dynamic_reconfigure server instance

Definition at line 127 of file server.h.

template<class ConfigType >
static void rtt_dynamic_reconfigure::dynamic_reconfigure_traits< ConfigType >::toMessage ( ConfigType &  config,
dynamic_reconfigure::Config &  message,
const ServerType  
) [inline, static]

Convert an instance of ConfigType to a dynamic_reconfigure::Config message

Parameters:
configreference to the ConfigType instance to be read
messagereference to the Config message to be filled
serverpointer to the rtt_dynamic_reconfigure server instance (only used for AutoConfig)

Definition at line 136 of file server.h.


Member Data Documentation

template<class ConfigType >
const bool rtt_dynamic_reconfigure::dynamic_reconfigure_traits< ConfigType >::canRefresh = false [static]

If true, the description of ConfigType is dynamic and can be changed during run-time (e.g. by adding/removing properties).

Definition at line 120 of file server.h.


The documentation for this struct was generated from the following file:


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