15 #ifndef RCLCPP__NODE_INTERFACES__NODE_CLOCK_INTERFACE_HPP_
16 #define RCLCPP__NODE_INTERFACES__NODE_CLOCK_INTERFACE_HPP_
18 #include "rclcpp/clock.hpp"
19 #include "rclcpp/macros.hpp"
20 #include "rclcpp/node_interfaces/detail/node_interfaces_helpers.hpp"
21 #include "rclcpp/visibility_control.hpp"
25 namespace node_interfaces
41 rclcpp::Clock::SharedPtr
47 rclcpp::Clock::ConstSharedPtr
Pure virtual interface class for the NodeClock part of the Node API.
virtual RCLCPP_PUBLIC rclcpp::Clock::SharedPtr get_clock()=0
Get a ROS clock which will be kept up to date by the node.
virtual RCLCPP_PUBLIC rclcpp::Clock::ConstSharedPtr get_clock() const =0
Get a const ROS clock which will be kept up to date by the node.
Versions of rosidl_typesupport_cpp::get_message_type_support_handle that handle adapted types.