rclcpp  master
C++ ROS Client Library API
Public Member Functions | List of all members
rclcpp::parameter_client::AsyncParametersClient Class Reference

#include <parameter_client.hpp>

Public Member Functions

 AsyncParametersClient (const rclcpp::node::Node::SharedPtr node, const std::string &remote_node_name="", const rmw_qos_profile_t &qos_profile=rmw_qos_profile_parameters)
 
std::shared_future< std::vector< rclcpp::parameter::ParameterVariant > > get_parameters (const std::vector< std::string > &names, std::function< void(std::shared_future< std::vector< rclcpp::parameter::ParameterVariant >>) > callback=nullptr)
 
std::shared_future< std::vector< rclcpp::parameter::ParameterType > > get_parameter_types (const std::vector< std::string > &names, std::function< void(std::shared_future< std::vector< rclcpp::parameter::ParameterType >>) > callback=nullptr)
 
std::shared_future< std::vector< rcl_interfaces::msg::SetParametersResult > > set_parameters (const std::vector< rclcpp::parameter::ParameterVariant > &parameters, std::function< void(std::shared_future< std::vector< rcl_interfaces::msg::SetParametersResult >>) > callback=nullptr)
 
std::shared_future< rcl_interfaces::msg::SetParametersResult > set_parameters_atomically (const std::vector< rclcpp::parameter::ParameterVariant > &parameters, std::function< void(std::shared_future< rcl_interfaces::msg::SetParametersResult >) > callback=nullptr)
 
std::shared_future< rcl_interfaces::msg::ListParametersResult > list_parameters (const std::vector< std::string > &prefixes, uint64_t depth, std::function< void(std::shared_future< rcl_interfaces::msg::ListParametersResult >) > callback=nullptr)
 
template<typename CallbackT >
rclcpp::subscription::Subscription< rcl_interfaces::msg::ParameterEvent >::SharedPtr on_parameter_event (CallbackT &&callback)
 

Constructor & Destructor Documentation

◆ AsyncParametersClient()

rclcpp::parameter_client::AsyncParametersClient::AsyncParametersClient ( const rclcpp::node::Node::SharedPtr  node,
const std::string &  remote_node_name = "",
const rmw_qos_profile_t qos_profile = rmw_qos_profile_parameters 
)

Member Function Documentation

◆ get_parameters()

std::shared_future<std::vector<rclcpp::parameter::ParameterVariant> > rclcpp::parameter_client::AsyncParametersClient::get_parameters ( const std::vector< std::string > &  names)

◆ get_parameter_types()

std::shared_future<std::vector<rclcpp::parameter::ParameterType> > rclcpp::parameter_client::AsyncParametersClient::get_parameter_types ( const std::vector< std::string > &  names)

◆ set_parameters()

std::shared_future<std::vector<rcl_interfaces::msg::SetParametersResult> > rclcpp::parameter_client::AsyncParametersClient::set_parameters ( const std::vector< rclcpp::parameter::ParameterVariant > &  parameters)

◆ set_parameters_atomically()

std::shared_future<rcl_interfaces::msg::SetParametersResult> rclcpp::parameter_client::AsyncParametersClient::set_parameters_atomically ( const std::vector< rclcpp::parameter::ParameterVariant > &  parameters,
std::function< void(std::shared_future< rcl_interfaces::msg::SetParametersResult >) >  callback = nullptr 
)

◆ list_parameters()

std::shared_future<rcl_interfaces::msg::ListParametersResult> rclcpp::parameter_client::AsyncParametersClient::list_parameters ( const std::vector< std::string > &  prefixes,
uint64_t  depth,
std::function< void(std::shared_future< rcl_interfaces::msg::ListParametersResult >) >  callback = nullptr 
)

◆ on_parameter_event()

template<typename CallbackT >
rclcpp::subscription::Subscription<rcl_interfaces::msg::ParameterEvent>::SharedPtr rclcpp::parameter_client::AsyncParametersClient::on_parameter_event ( CallbackT &&  callback)
inline

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