rclcpp  master
C++ ROS Client Library API
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
get_node_waitables_interface.hpp File Reference
#include <memory>
#include <utility>
#include <type_traits>
#include "rcpputils/pointer_traits.hpp"
#include "rclcpp/node_interfaces/node_waitables_interface.hpp"
#include "rclcpp/node_interfaces/node_waitables_interface_traits.hpp"
Include dependency graph for get_node_waitables_interface.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_waitables_interface< typename rcpputils::remove_pointer< NodeType >::type >::value, int >::type = 0>
std::shared_ptr< rclcpp::node_interfaces::NodeWaitablesInterfacerclcpp::node_interfaces::detail::get_node_waitables_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::NodeWaitablesInterfacerclcpp::node_interfaces::get_node_waitables_interface (NodeType &&node)
 Get the NodeWaitablesInterface as a shared pointer from a pointer to a "Node like" object. More...
 
std::shared_ptr< rclcpp::node_interfaces::NodeWaitablesInterfacerclcpp::node_interfaces::get_node_waitables_interface (std::shared_ptr< rclcpp::node_interfaces::NodeWaitablesInterface > &node_interface)
 Keep the NodeWaitablesInterface a shared pointer. More...