TraveSim Adapters
0.1
Protobuf adapters for TraveSim project
|
#include "adapter_configurer.hpp"
Public Member Functions | |
AdapterConfigurer (void) | |
Construct a new AdapterConfigurer object. More... | |
AdapterConfigurer (std::string config_namespace) | |
Construct a new AdapterConfigurer object. More... | |
bool | get_reset (void) |
Get the reset config. More... | |
Protected Attributes | |
bool | reconfigured |
AdapterConfigType | config |
boost::recursive_mutex | mutex |
Private Member Functions | |
void | callback (AdapterConfigType &config, uint32_t level) |
Dynamic Reconfigure Server Callback. More... | |
Private Attributes | |
std::unique_ptr< ros::NodeHandle > | node_handle |
std::unique_ptr< dynamic_reconfigure::Server< AdapterConfigType > > | server |
Definition at line 35 of file adapter_configurer.hpp.
travesim::AdapterConfigurer< AdapterConfigType >::AdapterConfigurer | ( | void | ) |
Construct a new AdapterConfigurer object.
Definition at line 85 of file adapter_configurer.hpp.
travesim::AdapterConfigurer< AdapterConfigType >::AdapterConfigurer | ( | std::string | config_namespace | ) |
Construct a new AdapterConfigurer object.
config_namespace | Namespace of the adapter configurer |
Definition at line 90 of file adapter_configurer.hpp.
|
private |
Dynamic Reconfigure Server Callback.
config | New config received |
level | Result of doing an "OR" operation between all of level values of the parameters that have changed |
Definition at line 132 of file adapter_configurer.hpp.
bool travesim::AdapterConfigurer< AdapterConfigType >::get_reset | ( | void | ) |
Get the reset config.
Definition at line 109 of file adapter_configurer.hpp.
|
protected |
Current config
Definition at line 61 of file adapter_configurer.hpp.
|
protected |
Dynamic Reconfigure Server Mutex for thread-safety
Definition at line 63 of file adapter_configurer.hpp.
|
private |
Pointer to ROS Node Handle
Definition at line 66 of file adapter_configurer.hpp.
|
protected |
Whether the configs where changed or not
Definition at line 59 of file adapter_configurer.hpp.
|
private |
Dynamic Reconfigure Server
Definition at line 68 of file adapter_configurer.hpp.