xrpld
Loading...
Searching...
No Matches
beast::detail::AbstractClockWrapper< Facade, Clock > Struct Template Reference

#include <abstract_clock.h>

Inheritance diagram for beast::detail::AbstractClockWrapper< Facade, Clock >:
Collaboration diagram for beast::detail::AbstractClockWrapper< Facade, Clock >:

Public Types

using rep
using period
using duration
using time_point
using clock_type

Public Member Functions

 AbstractClockWrapper ()=default
time_point now () const override
 Returns the current time.

Static Public Attributes

static bool const is_steady

Detailed Description

template<class Facade, class Clock>
struct beast::detail::AbstractClockWrapper< Facade, Clock >

Definition at line 59 of file abstract_clock.h.

Member Typedef Documentation

◆ rep

using beast::AbstractClock< Facade >::rep
inherited

Definition at line 37 of file abstract_clock.h.

◆ period

using beast::AbstractClock< Facade >::period
inherited

Definition at line 38 of file abstract_clock.h.

◆ duration

using beast::AbstractClock< Facade >::duration
inherited

Definition at line 39 of file abstract_clock.h.

◆ time_point

using beast::AbstractClock< Facade >::time_point
inherited

Definition at line 40 of file abstract_clock.h.

◆ clock_type

using beast::AbstractClock< Facade >::clock_type
inherited

Definition at line 41 of file abstract_clock.h.

Constructor & Destructor Documentation

◆ AbstractClockWrapper()

template<class Facade, class Clock>
beast::detail::AbstractClockWrapper< Facade, Clock >::AbstractClockWrapper ( )
explicitdefault

Member Function Documentation

◆ now()

template<class Facade, class Clock>
time_point beast::detail::AbstractClockWrapper< Facade, Clock >::now ( ) const
nodiscardoverridevirtual

Returns the current time.

Implements beast::AbstractClock< Facade >.

Definition at line 67 of file abstract_clock.h.

Member Data Documentation

◆ is_steady

bool const beast::AbstractClock< Facade >::is_steady
staticinherited

Definition at line 43 of file abstract_clock.h.