Lely core libraries  2.3.4
lely::io::Clock Class Reference

An abstract clock. This class is a wrapper around #io_clock_t*. More...

#include <clock.hpp>

Public Member Functions

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)
 

Detailed Description

An abstract clock. This class is a wrapper around #io_clock_t*.

Definition at line 35 of file clock.hpp.

Member Function Documentation

◆ getres() [1/2]

duration lely::io::Clock::getres ( ::std::error_code &  ec) const
inlinenoexcept
See also
io_clock_getres()

Definition at line 46 of file clock.hpp.

◆ getres() [2/2]

duration lely::io::Clock::getres ( ) const
inline
See also
io_clock_getres()

Definition at line 60 of file clock.hpp.

◆ gettime() [1/2]

time_point lely::io::Clock::gettime ( ::std::error_code &  ec) const
inlinenoexcept
See also
io_clock_gettime()

Definition at line 69 of file clock.hpp.

◆ gettime() [2/2]

time_point lely::io::Clock::gettime ( ) const
inline
See also
io_clock_gettime()

Definition at line 83 of file clock.hpp.

◆ settime() [1/2]

void lely::io::Clock::settime ( const time_point &  t,
::std::error_code &  ec 
)
inlinenoexcept
See also
io_clock_settime()

Definition at line 92 of file clock.hpp.

◆ settime() [2/2]

void lely::io::Clock::settime ( const time_point &  t)
inline
See also
io_clock_settime()

Definition at line 105 of file clock.hpp.


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