15 #ifndef RCLCPP__NODE_INTERFACES__NODE_CLOCK_HPP_ 16 #define RCLCPP__NODE_INTERFACES__NODE_CLOCK_HPP_ 30 namespace node_interfaces
41 rclcpp::node_interfaces::NodeBaseInterface::SharedPtr node_base,
42 rclcpp::node_interfaces::NodeTopicsInterface::SharedPtr node_topics,
43 rclcpp::node_interfaces::NodeGraphInterface::SharedPtr node_graph,
44 rclcpp::node_interfaces::NodeServicesInterface::SharedPtr node_services);
53 rclcpp::Clock::SharedPtr
59 rclcpp::node_interfaces::NodeBaseInterface::SharedPtr node_base_;
60 rclcpp::node_interfaces::NodeTopicsInterface::SharedPtr node_topics_;
61 rclcpp::node_interfaces::NodeGraphInterface::SharedPtr node_graph_;
62 rclcpp::node_interfaces::NodeServicesInterface::SharedPtr node_services_;
64 rclcpp::Clock::SharedPtr ros_clock_;
71 #endif // RCLCPP__NODE_INTERFACES__NODE_CLOCK_HPP_
Definition: time_source.hpp:36
#define RCLCPP_DISABLE_COPY(...)
Definition: macros.hpp:26
#define RCLCPP_SMART_PTR_ALIASES_ONLY(...)
Definition: macros.hpp:66
Definition: allocator_common.hpp:24
Pure virtual interface class for the NodeClock part of the Node API.
Definition: node_clock_interface.hpp:29
Implementation of the NodeClock part of the Node API.
Definition: node_clock.hpp:34
NodeClock(rclcpp::node_interfaces::NodeBaseInterface::SharedPtr node_base, rclcpp::node_interfaces::NodeTopicsInterface::SharedPtr node_topics, rclcpp::node_interfaces::NodeGraphInterface::SharedPtr node_graph, rclcpp::node_interfaces::NodeServicesInterface::SharedPtr node_services)
#define RCLCPP_PUBLIC
Definition: visibility_control.hpp:50
virtual rclcpp::Clock::SharedPtr get_clock()
Get a clock which will be kept up to date by the node.