22 #ifndef NDN_CXX_UTIL_TIME_CUSTOM_CLOCK_HPP 
   23 #define NDN_CXX_UTIL_TIME_CUSTOM_CLOCK_HPP 
   36 template<
typename BaseClock>
 
   43   virtual typename BaseClock::time_point
 
   64                 shared_ptr<CustomSystemClock> systemClock = 
nullptr);
 
Class implementing custom system or steady clock behavior.
 
virtual ~CustomClock()=default
 
virtual BaseClock::duration toWaitDuration(typename BaseClock::duration d) const =0
 
virtual std::string getSince() const =0
 
virtual BaseClock::time_point getNow() const =0
 
boost::chrono::duration< Rep, Period > duration
 
void setCustomClocks(shared_ptr< CustomSteadyClock > steadyClock=nullptr, shared_ptr< CustomSystemClock > systemClock=nullptr)
Set custom system and steady clocks.