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,
45 rclcpp::node_interfaces::NodeLoggingInterface::SharedPtr node_logging);
54 rclcpp::Clock::SharedPtr
60 rclcpp::node_interfaces::NodeBaseInterface::SharedPtr node_base_;
61 rclcpp::node_interfaces::NodeTopicsInterface::SharedPtr node_topics_;
62 rclcpp::node_interfaces::NodeGraphInterface::SharedPtr node_graph_;
63 rclcpp::node_interfaces::NodeServicesInterface::SharedPtr node_services_;
64 rclcpp::node_interfaces::NodeLoggingInterface::SharedPtr node_logging_;
66 rclcpp::Clock::SharedPtr ros_clock_;
72 #endif // RCLCPP__NODE_INTERFACES__NODE_CLOCK_HPP_
#define RCLCPP_DISABLE_COPY(...)
Definition: macros.hpp:26
#define RCLCPP_SMART_PTR_ALIASES_ONLY(...)
Definition: macros.hpp:66
Definition: allocator_common.hpp:24
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, rclcpp::node_interfaces::NodeLoggingInterface::SharedPtr node_logging)
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
#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.