rclcpp
master
C++ ROS Client Library API
|
#include <memory>
#include <utility>
#include <type_traits>
#include "rcpputils/pointer_traits.hpp"
#include "rclcpp/node_interfaces/node_base_interface.hpp"
#include "rclcpp/node_interfaces/node_base_interface_traits.hpp"
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_base_interface< typename rcpputils::remove_pointer< NodeType >::type >::value, int >::type = 0> | |
std::shared_ptr< rclcpp::node_interfaces::NodeBaseInterface > | rclcpp::node_interfaces::detail::get_node_base_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::NodeBaseInterface > | rclcpp::node_interfaces::get_node_base_interface (NodeType &&node) |
Get the NodeBaseInterface as a shared pointer from a pointer to a "Node like" object. More... | |
std::shared_ptr< rclcpp::node_interfaces::NodeBaseInterface > | rclcpp::node_interfaces::get_node_base_interface (std::shared_ptr< rclcpp::node_interfaces::NodeBaseInterface > &node_interface) |
Keep the NodeBaseInterface a shared pointer. More... | |