An abstract clock. This class is a wrapper around io_clock_t*
.
More...
#include <clock.hpp>
|
duration | getres (::std::error_code &ec) const noexcept |
|
duration | getres () const |
|
time_point | gettime (::std::error_code &ec) const noexcept |
|
time_point | gettime () const |
|
void | settime (const time_point &t, ::std::error_code &ec) noexcept |
|
void | settime (const time_point &t) |
|
An abstract clock. This class is a wrapper around io_clock_t*
.
Definition at line 35 of file clock.hpp.
◆ getres() [1/2]
duration lely::io::Clock::getres |
( |
::std::error_code & |
ec | ) |
const |
|
inlinenoexcept |
◆ getres() [2/2]
duration lely::io::Clock::getres |
( |
| ) |
const |
|
inline |
◆ gettime() [1/2]
time_point lely::io::Clock::gettime |
( |
::std::error_code & |
ec | ) |
const |
|
inlinenoexcept |
◆ gettime() [2/2]
time_point lely::io::Clock::gettime |
( |
| ) |
const |
|
inline |
◆ settime() [1/2]
void lely::io::Clock::settime |
( |
const time_point & |
t, |
|
|
::std::error_code & |
ec |
|
) |
| |
|
inlinenoexcept |
◆ settime() [2/2]
void lely::io::Clock::settime |
( |
const time_point & |
t | ) |
|
|
inline |
The documentation for this class was generated from the following file: