NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::time::UnitTestClockTraits< BaseClock > Class Template Reference

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

#include <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 38 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 42 of file time-unit-test-clock.hpp.


The documentation for this class was generated from the following file: