rclcpp  master
C++ ROS Client Library API
Namespaces | Functions
get_node_time_source_interface.hpp File Reference
#include <memory>
#include <utility>
#include <type_traits>
#include "rcpputils/pointer_traits.hpp"
#include "rclcpp/node_interfaces/node_time_source_interface.hpp"
#include "rclcpp/node_interfaces/node_time_source_interface_traits.hpp"
Include dependency graph for get_node_time_source_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_time_source_interface< typename rcpputils::remove_pointer< NodeType >::type >::value, int >::type = 0>
std::shared_ptr< rclcpp::node_interfaces::NodeTimeSourceInterfacerclcpp::node_interfaces::detail::get_node_time_source_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::NodeTimeSourceInterfacerclcpp::node_interfaces::get_node_time_source_interface (NodeType &&node)
 Get the NodeTimeSourceInterface as a shared pointer from a pointer to a "Node like" object. More...
 
std::shared_ptr< rclcpp::node_interfaces::NodeTimeSourceInterfacerclcpp::node_interfaces::get_node_time_source_interface (std::shared_ptr< rclcpp::node_interfaces::NodeTimeSourceInterface > &node_interface)
 Keep the NodeTimeSourceInterface a shared pointer. More...