ROS 2 rclcpp + rcl - humble  humble
ROS 2 C++ Client Library with ROS Client Library
Public Member Functions | Static Public Member Functions | List of all members
rclcpp::ClocksState Class Referencefinal

Public Member Functions

void enable_ros_time ()
 
void disable_ros_time ()
 
bool is_ros_time_active () const
 
void attachClock (rclcpp::Clock::SharedPtr clock)
 
void detachClock (rclcpp::Clock::SharedPtr clock)
 
void set_all_clocks (const builtin_interfaces::msg::Time::SharedPtr msg, bool set_ros_time_enabled)
 
void cache_last_msg (std::shared_ptr< const rosgraph_msgs::msg::Clock > msg)
 

Static Public Member Functions

static void set_clock (const builtin_interfaces::msg::Time::SharedPtr msg, bool set_ros_time_enabled, rclcpp::Clock::SharedPtr clock)
 

Detailed Description

Definition at line 36 of file time_source.cpp.


The documentation for this class was generated from the following file: