ParameterHandler
A library that handles parameters at runtime.
parameter_handler_ros::ParameterHandlerRos Class Reference

#include <ParameterHandlerRos.hpp>

Inheritance diagram for parameter_handler_ros::ParameterHandlerRos:
Inheritance graph

Public Member Functions

 ParameterHandlerRos ()
 
virtual ~ParameterHandlerRos ()
 
void initializeServices ()
 
void shutdown ()
 
void setNodeHandle (ros::NodeHandle *nodeHandle)
 
virtual bool cleanup ()
 
bool getParameterList (parameter_handler_msgs::GetParameterList::Request &req, parameter_handler_msgs::GetParameterList::Response &res)
 
bool setIntegralParameter (parameter_handler_msgs::SetIntegralParameterRequest &req, parameter_handler_msgs::SetIntegralParameterResponse &res)
 
bool getIntegralParameter (parameter_handler_msgs::GetIntegralParameterRequest &req, parameter_handler_msgs::GetIntegralParameterResponse &res)
 
bool setFloatingPointParameter (parameter_handler_msgs::SetFloatingPointParameterRequest &req, parameter_handler_msgs::SetFloatingPointParameterResponse &res)
 
bool getFloatingPointParameter (parameter_handler_msgs::GetFloatingPointParameterRequest &req, parameter_handler_msgs::GetFloatingPointParameterResponse &res)
 
virtual void parameterChanged (const parameter_handler::ParameterInterface &param)
 Notify observer of a parameter change. More...
 
- Public Member Functions inherited from parameter_handler_std::ParameterHandlerStd
 ParameterHandlerStd ()
 
virtual ~ParameterHandlerStd ()
 
virtual bool addParam (const std::string &name, parameter_handler::ParameterInterface &param, bool verbose=false)
 
virtual bool addParam (parameter_handler::ParameterInterface &param, bool verbose=false)
 
virtual bool getParam (const std::string &name, parameter_handler::ParameterInterface &param)
 
- Public Member Functions inherited from parameter_handler::ParameterHandlerBase
 ParameterHandlerBase ()
 
virtual ~ParameterHandlerBase ()
 
- Public Member Functions inherited from parameter_handler::ParameterObserverInterface
 ParameterObserverInterface ()=default
 Default Constructor. More...
 
virtual ~ParameterObserverInterface ()=default
 Default Destructor. More...
 

Protected Attributes

ros::NodeHandle * nodeHandle_
 
ros::ServiceServer getParameterListService_
 
ros::ServiceServer getIntegralParameterService_
 
ros::ServiceServer setIntegralParameterService_
 
ros::ServiceServer getFloatingPointParameterService_
 
ros::ServiceServer setFloatingPointParameterService_
 
ros::Publisher notifyIntegralParameterChange_
 
ros::Publisher notifyFloatingPointParameterChange_
 
- Protected Attributes inherited from parameter_handler_std::ParameterHandlerStd
ParameterList params_
 
std::mutex mutexParams_
 

Additional Inherited Members

- Public Types inherited from parameter_handler_std::ParameterHandlerStd
typedef std::unordered_map< std::string, parameter_handler::ParameterInterfaceParameterList
 

Constructor & Destructor Documentation

parameter_handler_ros::ParameterHandlerRos::ParameterHandlerRos ( )
virtual parameter_handler_ros::ParameterHandlerRos::~ParameterHandlerRos ( )
virtual

Member Function Documentation

virtual bool parameter_handler_ros::ParameterHandlerRos::cleanup ( )
virtual
bool parameter_handler_ros::ParameterHandlerRos::getFloatingPointParameter ( parameter_handler_msgs::GetFloatingPointParameterRequest req,
parameter_handler_msgs::GetFloatingPointParameterResponse res 
)
bool parameter_handler_ros::ParameterHandlerRos::getIntegralParameter ( parameter_handler_msgs::GetIntegralParameterRequest req,
parameter_handler_msgs::GetIntegralParameterResponse res 
)
bool parameter_handler_ros::ParameterHandlerRos::getParameterList ( parameter_handler_msgs::GetParameterList::Request req,
parameter_handler_msgs::GetParameterList::Response res 
)
void parameter_handler_ros::ParameterHandlerRos::initializeServices ( )
virtual void parameter_handler_ros::ParameterHandlerRos::parameterChanged ( const parameter_handler::ParameterInterface param)
virtual

Notify observer of a parameter change.

Parameters
paramParameter that changed

Reimplemented from parameter_handler_std::ParameterHandlerStd.

bool parameter_handler_ros::ParameterHandlerRos::setFloatingPointParameter ( parameter_handler_msgs::SetFloatingPointParameterRequest req,
parameter_handler_msgs::SetFloatingPointParameterResponse res 
)
bool parameter_handler_ros::ParameterHandlerRos::setIntegralParameter ( parameter_handler_msgs::SetIntegralParameterRequest req,
parameter_handler_msgs::SetIntegralParameterResponse res 
)
void parameter_handler_ros::ParameterHandlerRos::setNodeHandle ( ros::NodeHandle *  nodeHandle)
void parameter_handler_ros::ParameterHandlerRos::shutdown ( )

Member Data Documentation

ros::ServiceServer parameter_handler_ros::ParameterHandlerRos::getFloatingPointParameterService_
protected
ros::ServiceServer parameter_handler_ros::ParameterHandlerRos::getIntegralParameterService_
protected
ros::ServiceServer parameter_handler_ros::ParameterHandlerRos::getParameterListService_
protected
ros::NodeHandle* parameter_handler_ros::ParameterHandlerRos::nodeHandle_
protected
ros::Publisher parameter_handler_ros::ParameterHandlerRos::notifyFloatingPointParameterChange_
protected
ros::Publisher parameter_handler_ros::ParameterHandlerRos::notifyIntegralParameterChange_
protected
ros::ServiceServer parameter_handler_ros::ParameterHandlerRos::setFloatingPointParameterService_
protected
ros::ServiceServer parameter_handler_ros::ParameterHandlerRos::setIntegralParameterService_
protected

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