NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
boost::asio::time_traits< ndn::time::steady_clock > Struct Template Reference

#include <monotonic_deadline_timer.hpp>

Public Types

typedef ndn::time::steady_clock::TimePoint time_type
 
typedef ndn::time::steady_clock::Duration duration_type
 

Static Public Member Functions

static time_type now ()
 
static time_type add (const time_type &time, const duration_type &duration)
 
static duration_type subtract (const time_type &timeLhs, const time_type &timeRhs)
 
static bool less_than (const time_type &timeLhs, const time_type &timeRhs)
 
static boost::posix_time::time_duration to_posix_duration (const duration_type &duration)
 

Detailed Description

template<>
struct boost::asio::time_traits< ndn::time::steady_clock >

Definition at line 37 of file monotonic_deadline_timer.hpp.

Member Typedef Documentation

§ time_type

Definition at line 39 of file monotonic_deadline_timer.hpp.

§ duration_type

Definition at line 40 of file monotonic_deadline_timer.hpp.

Member Function Documentation

§ now()

static time_type boost::asio::time_traits< ndn::time::steady_clock >::now ( )
inlinestatic

Definition at line 43 of file monotonic_deadline_timer.hpp.

References ndn::time::steady_clock::now().

§ add()

static time_type boost::asio::time_traits< ndn::time::steady_clock >::add ( const time_type time,
const duration_type duration 
)
inlinestatic

Definition at line 49 of file monotonic_deadline_timer.hpp.

§ subtract()

static duration_type boost::asio::time_traits< ndn::time::steady_clock >::subtract ( const time_type timeLhs,
const time_type timeRhs 
)
inlinestatic

Definition at line 55 of file monotonic_deadline_timer.hpp.

§ less_than()

static bool boost::asio::time_traits< ndn::time::steady_clock >::less_than ( const time_type timeLhs,
const time_type timeRhs 
)
inlinestatic

Definition at line 61 of file monotonic_deadline_timer.hpp.

§ to_posix_duration()

static boost::posix_time::time_duration boost::asio::time_traits< ndn::time::steady_clock >::to_posix_duration ( const duration_type duration)
inlinestatic

Definition at line 67 of file monotonic_deadline_timer.hpp.


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