ROS 2 rclcpp + rcl - lyrical  lyrical
ROS 2 C++ Client Library with ROS Client Library
Public Member Functions | List of all members
rclcpp::executors::cbg_executor::ClockConditionalVariable Class Reference

#include </home/runner/work/api.nav2.org/api.nav2.org/work/rclcpp-lyrical/rclcpp/src/rclcpp/executors/events_cbg_executor/timer_manager.hpp>

Public Member Functions

 ClockConditionalVariable (rclcpp::Context::SharedPtr context)
 
bool wait_until (std::unique_lock< std::mutex > &lock, const rclcpp::Clock::SharedPtr &clock, const rclcpp::Time &until, const std::function< bool()> &pred)
 
void notify_one ()
 
std::mutex & mutex ()
 

Detailed Description

Specialized version of rclcpp::ClockConditionalVariable

This version accepts the clock on waits instead of on construction. This is needed, as clocks may be deleted during normal operation, and be don't have a way to create a permanent ros time clock.

Definition at line 38 of file timer_manager.hpp.


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