rippled
Public Types | Public Member Functions | Static Public Attributes | List of all members
beast::detail::abstract_clock_wrapper< Facade, Clock > Struct Template Referenceabstract
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 Facade ::rep
 
using period = typename Facade ::period
 
using duration = typename Facade ::duration
 
using time_point = typename Facade ::time_point
 
using clock_type = Facade
 

Public Member Functions

 abstract_clock_wrapper ()=default
 
time_point now () const override
 
virtual time_point now () const=0
 Returns the current time. More...
 

Static Public Attributes

static const bool is_steady
 

Detailed Description

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

Definition at line 82 of file abstract_clock.h.

Member Typedef Documentation

◆ rep

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

Definition at line 60 of file abstract_clock.h.

◆ period

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

Definition at line 61 of file abstract_clock.h.

◆ duration

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

Definition at line 62 of file abstract_clock.h.

◆ time_point

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

Definition at line 63 of file abstract_clock.h.

◆ clock_type

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

Definition at line 64 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() [1/2]

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

Definition at line 90 of file abstract_clock.h.

◆ now() [2/2]

virtual time_point beast::abstract_clock< Facade >::now
pure virtualinherited

Returns the current time.

Member Data Documentation

◆ is_steady

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

Definition at line 66 of file abstract_clock.h.