20 #ifndef BEAST_CHRONO_ABSTRACT_CLOCK_H_INCLUDED
21 #define BEAST_CHRONO_ABSTRACT_CLOCK_H_INCLUDED
56 template <
class Clock>
60 using rep =
typename Clock::rep;
61 using period =
typename Clock::period;
81 template <
class Facade,
class Clock>
105 template <
class Facade,
class Clock = Facade>
106 abstract_clock<Facade>&
static const bool is_steady
typename std::chrono::system_clock ::period period
virtual time_point now() const =0
Returns the current time.
abstract_clock< Facade > & get_abstract_clock()
Returns a global instance of an abstract clock.
Abstract interface to a clock.
time_point now() const override
typename std::chrono::system_clock ::rep rep
abstract_clock_wrapper()=default
virtual ~abstract_clock()=default
typename std::chrono::system_clock ::time_point time_point
typename std::chrono::system_clock ::duration duration