rclcpp  beta1
C++ ROS Client Library API
Public Member Functions | List of all members
rclcpp::node_interfaces::NodeParameters Class Reference

Implementation of the NodeParameters part of the Node API. More...

#include <node_parameters.hpp>

Inheritance diagram for rclcpp::node_interfaces::NodeParameters:
rclcpp::node_interfaces::NodeParametersInterface

Public Member Functions

 NodeParameters (rclcpp::node_interfaces::NodeTopicsInterface *node_topics, bool use_intra_process)
 
virtual ~NodeParameters ()
 
virtual std::vector< rcl_interfaces::msg::SetParametersResult > set_parameters (const std::vector< rclcpp::parameter::ParameterVariant > &parameters)
 
virtual rcl_interfaces::msg::SetParametersResult set_parameters_atomically (const std::vector< rclcpp::parameter::ParameterVariant > &parameters)
 
virtual std::vector< rclcpp::parameter::ParameterVariantget_parameters (const std::vector< std::string > &names) const
 
virtual rclcpp::parameter::ParameterVariant get_parameter (const std::string &name) const
 
virtual bool get_parameter (const std::string &name, rclcpp::parameter::ParameterVariant &parameter) const
 
virtual std::vector< rcl_interfaces::msg::ParameterDescriptor > describe_parameters (const std::vector< std::string > &names) const
 
virtual std::vector< uint8_t > get_parameter_types (const std::vector< std::string > &names) const
 
virtual rcl_interfaces::msg::ListParametersResult list_parameters (const std::vector< std::string > &prefixes, uint64_t depth) const
 
virtual void register_param_change_callback (ParametersCallbackFunction callback)
 
- Public Member Functions inherited from rclcpp::node_interfaces::NodeParametersInterface
virtual void register_param_change_callback (ParametersCallbackFunction callback)=0
 

Additional Inherited Members

- Public Types inherited from rclcpp::node_interfaces::NodeParametersInterface
using ParametersCallbackFunction = std::function< rcl_interfaces::msg::SetParametersResult(const std::vector< rclcpp::parameter::ParameterVariant > &)>
 

Detailed Description

Implementation of the NodeParameters part of the Node API.

Constructor & Destructor Documentation

§ NodeParameters()

rclcpp::node_interfaces::NodeParameters::NodeParameters ( rclcpp::node_interfaces::NodeTopicsInterface node_topics,
bool  use_intra_process 
)

§ ~NodeParameters()

virtual rclcpp::node_interfaces::NodeParameters::~NodeParameters ( )
virtual

Member Function Documentation

§ set_parameters()

virtual std::vector<rcl_interfaces::msg::SetParametersResult> rclcpp::node_interfaces::NodeParameters::set_parameters ( const std::vector< rclcpp::parameter::ParameterVariant > &  parameters)
virtual

§ set_parameters_atomically()

virtual rcl_interfaces::msg::SetParametersResult rclcpp::node_interfaces::NodeParameters::set_parameters_atomically ( const std::vector< rclcpp::parameter::ParameterVariant > &  parameters)
virtual

§ get_parameters()

virtual std::vector<rclcpp::parameter::ParameterVariant> rclcpp::node_interfaces::NodeParameters::get_parameters ( const std::vector< std::string > &  names) const
virtual

§ get_parameter() [1/2]

virtual rclcpp::parameter::ParameterVariant rclcpp::node_interfaces::NodeParameters::get_parameter ( const std::string name) const
virtual

§ get_parameter() [2/2]

virtual bool rclcpp::node_interfaces::NodeParameters::get_parameter ( const std::string name,
rclcpp::parameter::ParameterVariant parameter 
) const
virtual

§ describe_parameters()

virtual std::vector<rcl_interfaces::msg::ParameterDescriptor> rclcpp::node_interfaces::NodeParameters::describe_parameters ( const std::vector< std::string > &  names) const
virtual

§ get_parameter_types()

virtual std::vector<uint8_t> rclcpp::node_interfaces::NodeParameters::get_parameter_types ( const std::vector< std::string > &  names) const
virtual

§ list_parameters()

virtual rcl_interfaces::msg::ListParametersResult rclcpp::node_interfaces::NodeParameters::list_parameters ( const std::vector< std::string > &  prefixes,
uint64_t  depth 
) const
virtual

§ register_param_change_callback()

virtual void rclcpp::node_interfaces::NodeParameters::register_param_change_callback ( ParametersCallbackFunction  callback)
virtual

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