15 #ifndef RCLCPP__WAIT_SET_POLICIES__DETAIL__SYNCHRONIZATION_POLICY_COMMON_HPP_
16 #define RCLCPP__WAIT_SET_POLICIES__DETAIL__SYNCHRONIZATION_POLICY_COMMON_HPP_
23 namespace wait_set_policies
38 std::chrono::steady_clock::time_point start)
42 auto deadline = start + time_to_wait_ns;
46 return []() ->
bool {
return true;};
53 std::chrono::steady_clock::time_point start)
57 time_left_to_wait = original_time_to_wait_ns;
64 return time_left_to_wait;
72 #endif // RCLCPP__WAIT_SET_POLICIES__DETAIL__SYNCHRONIZATION_POLICY_COMMON_HPP_