Class implementing custom system or steady clock behavior. More...
#include <time-custom-clock.hpp>
Public Member Functions | |
virtual | ~CustomClock ()=default |
virtual BaseClock::time_point | getNow () const =0 |
virtual std::string | getSince () const =0 |
virtual BaseClock::duration | toWaitDuration (typename BaseClock::duration d) const =0 |
Class implementing custom system or steady clock behavior.
Instance of specialization of this class may be passed to setCustomClocks() free function in order to change global behavior of system or steady clock.
Definition at line 37 of file time-custom-clock.hpp.
|
virtualdefault |
|
pure virtual |
Implemented in ndn::time::UnitTestClock< BaseClock, ClockTraits >.
|
pure virtual |
Implemented in ndn::time::UnitTestClock< BaseClock, ClockTraits >.
|
pure virtual |
Implemented in ndn::time::UnitTestClock< BaseClock, ClockTraits >.