Class NodeClockInterface

Inheritance Relationships

Derived Type

Class Documentation

class NodeClockInterface

Pure virtual interface class for the NodeClock part of the Node API.

Subclassed by rclcpp::node_interfaces::NodeClock

Public Functions

virtual ~NodeClockInterface() = default
virtual rclcpp::Clock::SharedPtr get_clock() = 0

Get a ROS clock which will be kept up to date by the node.

virtual rclcpp::Clock::ConstSharedPtr get_clock() const = 0

Get a const ROS clock which will be kept up to date by the node.