The default implementation of the clock API. More...
#include <SystemClock.hpp>
Additional Inherited Members | |
Public Member Functions inherited from Clock | |
virtual std::chrono::centiseconds | centitime () const =0 |
Get the current time in centiseconds since the unix epoch. More... | |
virtual std::chrono::deciseconds | decitime () const =0 |
Get the current time in deciseconds since the unix epoch. More... | |
virtual std::chrono::milliseconds | millitime () const =0 |
Get the current time in milliseconds since the unix epoch. More... | |
virtual std::chrono::nanoseconds | nanotime () const =0 |
Get the current time in nanoseconds since the unix epoch. More... | |
virtual std::chrono::system_clock::time_point | now () const =0 |
Get the current time point. More... | |
virtual Date::year_month_day | today () const =0 |
Get the current date. More... | |
The default implementation of the clock API.
This is the implementation that should be used in production.