rippled
|
A clock based on system_clock and adjusted for SNTP. More...
Public Types | |
using | rep = typename std::chrono::system_clock ::rep |
using | period = typename std::chrono::system_clock ::period |
using | duration = typename std::chrono::system_clock ::duration |
using | time_point = typename std::chrono::system_clock ::time_point |
using | clock_type = std::chrono::system_clock |
Public Member Functions | |
virtual void | run (std::vector< std::string > const &servers)=0 |
virtual duration | offset () const =0 |
virtual time_point | now () const=0 |
Returns the current time. More... | |
Static Public Attributes | |
static const bool | is_steady |
A clock based on system_clock and adjusted for SNTP.
Definition at line 33 of file SNTPClock.h.
|
inherited |
Definition at line 60 of file abstract_clock.h.
|
inherited |
Definition at line 61 of file abstract_clock.h.
|
inherited |
Definition at line 62 of file abstract_clock.h.
|
inherited |
Definition at line 63 of file abstract_clock.h.
|
inherited |
Definition at line 64 of file abstract_clock.h.
|
pure virtual |
Implemented in ripple::SNTPClientImp.
|
pure virtual |
Implemented in ripple::SNTPClientImp.
|
pure virtualinherited |
Returns the current time.
|
staticinherited |
Definition at line 66 of file abstract_clock.h.