Class SimpleClockInterface

Inheritance Relationships

Base Type

  • public rclcpp::node_interfaces::NodeClockInterface

Class Documentation

class SimpleClockInterface : public rclcpp::node_interfaces::NodeClockInterface

Trivial NodeClockInterface that just gives access to the given clock instance.

Public Functions

inline explicit SimpleClockInterface(const ::rclcpp::Clock::SharedPtr &clock)
inline ::rclcpp::Clock::SharedPtr get_clock() override
inline ::rclcpp::Clock::ConstSharedPtr get_clock() const override

Protected Attributes

::rclcpp::Clock::SharedPtr clock