rippled
Loading...
Searching...
No Matches
basic_seconds_clock.h
1#ifndef BEAST_CHRONO_BASIC_SECONDS_CLOCK_H_INCLUDED
2#define BEAST_CHRONO_BASIC_SECONDS_CLOCK_H_INCLUDED
3
4#include <chrono>
5
6namespace beast {
7
18{
19public:
21
22 explicit basic_seconds_clock() = default;
23
24 using rep = typename Clock::rep;
25 using period = typename Clock::period;
26 using duration = typename Clock::duration;
27 using time_point = typename Clock::time_point;
28
29 static bool const is_steady = Clock::is_steady;
30
31 static time_point
32 now();
33};
34
35} // namespace beast
36
37#endif
A clock whose minimum resolution is one second.
typename Clock::duration duration
typename Clock::time_point time_point
typename Clock::period period