rclcpp  beta1
C++ ROS Client Library API
Public Member Functions | List of all members
rclcpp::rate::GenericRate< Clock > Class Template Reference

#include <rate.hpp>

Inheritance diagram for rclcpp::rate::GenericRate< Clock >:
rclcpp::rate::RateBase

Public Member Functions

 GenericRate (double rate)
 
 GenericRate (std::chrono::nanoseconds period)
 
virtual bool sleep ()
 
virtual bool is_steady () const
 
virtual void reset ()
 
std::chrono::nanoseconds period () const
 

Constructor & Destructor Documentation

§ GenericRate() [1/2]

template<class Clock = std::chrono::high_resolution_clock>
rclcpp::rate::GenericRate< Clock >::GenericRate ( double  rate)
inlineexplicit

§ GenericRate() [2/2]

template<class Clock = std::chrono::high_resolution_clock>
rclcpp::rate::GenericRate< Clock >::GenericRate ( std::chrono::nanoseconds  period)
inlineexplicit

Member Function Documentation

§ sleep()

template<class Clock = std::chrono::high_resolution_clock>
virtual bool rclcpp::rate::GenericRate< Clock >::sleep ( )
inlinevirtual

§ is_steady()

template<class Clock = std::chrono::high_resolution_clock>
virtual bool rclcpp::rate::GenericRate< Clock >::is_steady ( ) const
inlinevirtual

§ reset()

template<class Clock = std::chrono::high_resolution_clock>
virtual void rclcpp::rate::GenericRate< Clock >::reset ( )
inlinevirtual

§ period()

template<class Clock = std::chrono::high_resolution_clock>
std::chrono::nanoseconds rclcpp::rate::GenericRate< Clock >::period ( ) const
inline

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