ROS 2 rclcpp + rcl - lyrical  lyrical
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 (const rclcpp::Clock::SharedPtr &clock)
 
void detachClock (const rclcpp::Clock::SharedPtr &clock)
 
void set_all_clocks (const builtin_interfaces::msg::Time::SharedPtr &msg, bool set_ros_time_enabled)
 
void cache_last_msg (const std::shared_ptr< const rosgraph_msgs::msg::Clock > &msg)
 
bool are_all_clocks_rcl_ros_time ()
 

Static Public Member Functions

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

Detailed Description

Definition at line 37 of file time_source.cpp.


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