ndn::time::UnitTestClockTraits< BaseClock > Class Template Reference

Traits for UnitTestClock, defining default behavior for different clocks. More...

#include <ndn-cxx/util/time-unit-test-clock.hpp>

Static Public Member Functions

static nanoseconds getDefaultStartTime ()
 

Detailed Description

template<class BaseClock>
class ndn::time::UnitTestClockTraits< BaseClock >

Traits for UnitTestClock, defining default behavior for different clocks.

The only behavior that is currently controlled by the traits is default start time. The generic implementation assumes start time to be zero.

Definition at line 36 of file time-unit-test-clock.hpp.

Member Function Documentation

◆ getDefaultStartTime()

template<class BaseClock >
static nanoseconds ndn::time::UnitTestClockTraits< BaseClock >::getDefaultStartTime ( )
inlinestatic

Definition at line 40 of file time-unit-test-clock.hpp.