rclcpp  master
C++ ROS Client Library API
Namespaces | Functions
get_node_parameters_interface.hpp File Reference
#include <memory>
#include <utility>
#include <type_traits>
#include "rcpputils/pointer_traits.hpp"
#include "rclcpp/node_interfaces/node_parameters_interface.hpp"
#include "rclcpp/node_interfaces/node_parameters_interface_traits.hpp"
Include dependency graph for get_node_parameters_interface.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 rclcpp
 This header provides the get_node_base_interface() template function.
 
 rclcpp::node_interfaces
 
 rclcpp::node_interfaces::detail
 

Functions

template<typename NodeType , typename std::enable_if< has_node_parameters_interface< typename rcpputils::remove_pointer< NodeType >::type >::value, int >::type = 0>
std::shared_ptr< rclcpp::node_interfaces::NodeParametersInterfacerclcpp::node_interfaces::detail::get_node_parameters_interface_from_pointer (NodeType node_pointer)
 
template<typename NodeType , typename std::enable_if< rcpputils::is_pointer< NodeType >::value, int >::type = 0>
std::shared_ptr< rclcpp::node_interfaces::NodeParametersInterfacerclcpp::node_interfaces::get_node_parameters_interface (NodeType &&node)
 Get the NodeParametersInterface as a shared pointer from a pointer to a "Node like" object. More...
 
std::shared_ptr< rclcpp::node_interfaces::NodeParametersInterfacerclcpp::node_interfaces::get_node_parameters_interface (std::shared_ptr< rclcpp::node_interfaces::NodeParametersInterface > &node_interface)
 Keep the NodeParametersInterface a shared pointer. More...