rippled
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Attributes | List of all members
beast::detail::abstract_clock_wrapper< Facade, Clock > Struct Template Reference

#include <abstract_clock.h>

Inheritance diagram for beast::detail::abstract_clock_wrapper< Facade, Clock >:
Inheritance graph
[legend]
Collaboration diagram for beast::detail::abstract_clock_wrapper< Facade, Clock >:
Collaboration graph
[legend]

Public Types

using rep = typename Clock::rep
 
using period = typename Clock::period
 
using duration = typename Clock::duration
 
using time_point = typename Clock::time_point
 
using clock_type = Facade
 

Public Member Functions

 abstract_clock_wrapper ()=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::abstract_clock_wrapper< Facade, Clock >

Definition at line 60 of file abstract_clock.h.

Member Typedef Documentation

◆ rep

using beast::abstract_clock< Facade >::rep = typename Clock::rep
inherited

Definition at line 38 of file abstract_clock.h.

◆ period

using beast::abstract_clock< Facade >::period = typename Clock::period
inherited

Definition at line 39 of file abstract_clock.h.

◆ duration

using beast::abstract_clock< Facade >::duration = typename Clock::duration
inherited

Definition at line 40 of file abstract_clock.h.

◆ time_point

using beast::abstract_clock< Facade >::time_point = typename Clock::time_point
inherited

Definition at line 41 of file abstract_clock.h.

◆ clock_type

using beast::abstract_clock< Facade >::clock_type = Facade
inherited

Definition at line 42 of file abstract_clock.h.

Constructor & Destructor Documentation

◆ abstract_clock_wrapper()

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

Member Function Documentation

◆ now()

template<class Facade , class Clock >
time_point beast::detail::abstract_clock_wrapper< Facade, Clock >::now ( ) const
overridevirtual

Returns the current time.

Implements beast::abstract_clock< Facade >.

Definition at line 68 of file abstract_clock.h.

Member Data Documentation

◆ is_steady

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

Definition at line 44 of file abstract_clock.h.