NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
ns3::ndn::time::CustomSystemClock Class Reference

#include <ndn-time.hpp>

Inheritance diagram for ns3::ndn::time::CustomSystemClock:
Collaboration diagram for ns3::ndn::time::CustomSystemClock:

Public Member Functions

system_clock::time_point getNow () const
 
std::string getSince () const
 
boost::posix_time::time_duration toPosixDuration (const system_clock::duration &duration) const
 

Detailed Description

Definition at line 31 of file ndn-time.hpp.

Member Function Documentation

§ getNow()

system_clock::time_point ns3::ndn::time::CustomSystemClock::getNow ( ) const

Definition at line 29 of file ndn-time.cpp.

§ getSince()

std::string ns3::ndn::time::CustomSystemClock::getSince ( ) const

Definition at line 36 of file ndn-time.cpp.

§ toPosixDuration()

boost::posix_time::time_duration ns3::ndn::time::CustomSystemClock::toPosixDuration ( const system_clock::duration &  duration) const

Definition at line 42 of file ndn-time.cpp.


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