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