Template Class GenericRate
Defined in File rate.hpp
Inheritance Relationships
Base Type
public as2::rate::RateBase
(Class RateBase)
Class Documentation
-
template<class Clock = std::chrono::high_resolution_clock>
class GenericRate : public as2::rate::RateBase Public Functions
-
inline explicit GenericRate(double rate)
-
inline explicit GenericRate(std::chrono::nanoseconds period)
-
inline virtual bool sleep()
-
inline virtual void set_period(double rate)
-
inline virtual void set_period(std::chrono::nanoseconds period)
-
inline virtual bool is_steady() const
-
inline virtual void reset()
-
inline std::chrono::nanoseconds period() const
-
inline explicit GenericRate(double rate)