rclcpp  master
C++ ROS Client Library API
Protected Member Functions | List of all members
rclcpp::wait_set_policies::detail::SynchronizationPolicyCommon Class Reference

Common structure for synchronization policies. More...

#include <synchronization_policy_common.hpp>

Inheritance diagram for rclcpp::wait_set_policies::detail::SynchronizationPolicyCommon:
Inheritance graph
[legend]

Protected Member Functions

 SynchronizationPolicyCommon ()=default
 
 ~SynchronizationPolicyCommon ()=default
 
std::function< bool()> create_loop_predicate (std::chrono::nanoseconds time_to_wait_ns, std::chrono::steady_clock::time_point start)
 
std::chrono::nanoseconds calculate_time_left_to_wait (std::chrono::nanoseconds original_time_to_wait_ns, std::chrono::steady_clock::time_point start)
 

Detailed Description

Common structure for synchronization policies.

Constructor & Destructor Documentation

◆ SynchronizationPolicyCommon()

rclcpp::wait_set_policies::detail::SynchronizationPolicyCommon::SynchronizationPolicyCommon ( )
protecteddefault

◆ ~SynchronizationPolicyCommon()

rclcpp::wait_set_policies::detail::SynchronizationPolicyCommon::~SynchronizationPolicyCommon ( )
protecteddefault

Member Function Documentation

◆ create_loop_predicate()

std::function<bool()> rclcpp::wait_set_policies::detail::SynchronizationPolicyCommon::create_loop_predicate ( std::chrono::nanoseconds  time_to_wait_ns,
std::chrono::steady_clock::time_point  start 
)
inlineprotected

◆ calculate_time_left_to_wait()

std::chrono::nanoseconds rclcpp::wait_set_policies::detail::SynchronizationPolicyCommon::calculate_time_left_to_wait ( std::chrono::nanoseconds  original_time_to_wait_ns,
std::chrono::steady_clock::time_point  start 
)
inlineprotected

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