NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: 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

using time_type = ndn::time::steady_clock::TimePoint
 
using duration_type = ndn::time::steady_clock::Duration
 

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

Definition at line 39 of file monotonic-deadline-timer.hpp.

Definition at line 40 of file monotonic-deadline-timer.hpp.

Member Function Documentation

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().

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.

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.

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.

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: