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 boost::posix_time::time_duration | toPosixDuration (const typename BaseClock::duration &duration) 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 >.
|
pure virtual |
Implemented in ndn::time::UnitTestClock< BaseClock >.
|
pure virtual |
Implemented in ndn::time::UnitTestClock< BaseClock >.