NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
h
i
k
l
n
o
p
q
r
s
t
u
v
+
Enumerations
a
b
c
d
f
i
k
l
n
p
q
r
s
t
u
+
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
+
Enumerations
_
a
c
e
i
r
s
t
v
+
Enumerator
a
c
d
e
f
i
k
l
m
n
p
r
s
u
v
w
+
Related Functions
b
c
d
e
f
g
i
k
l
m
n
o
p
s
v
+
Files
File List
+
File Members
+
All
a
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Functions
c
f
h
m
r
s
u
w
+
Variables
a
c
d
f
g
i
k
l
m
n
p
r
s
t
Typedefs
+
Macros
a
d
e
f
i
l
m
n
o
p
r
s
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
ndn-time.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
20
#ifndef NDNSIM_UTILS_TIME_HPP
21
#define NDNSIM_UTILS_TIME_HPP
22
23
#include "ns3/ndnSIM/model/ndn-common.hpp"
24
25
#include <
ndn-cxx/util/time-custom-clock.hpp
>
26
27
namespace
ns3
{
28
namespace
ndn
{
29
namespace
time
{
30
31
class
CustomSystemClock
:
public
CustomClock<system_clock> {
32
public
:
33
system_clock::time_point
34
getNow
()
const
;
35
36
std::string
37
getSince
()
const
;
38
39
system_clock::duration
40
toWaitDuration
(system_clock::duration d)
const
;
41
};
42
43
class
CustomSteadyClock
:
public
CustomClock<steady_clock> {
44
public
:
45
steady_clock::time_point
46
getNow
()
const
;
47
48
std::string
49
getSince
()
const
;
50
51
steady_clock::duration
52
toWaitDuration
(steady_clock::duration d)
const
;
53
};
54
55
}
// namespace time
56
}
// namespace ndn
57
}
// namespace ns3
58
59
#endif // NDNSIM_UTILS_TIME_HPP
ndn
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-strategy-choice-helper.hpp:34
ns3::ndn::time::CustomSteadyClock::getNow
steady_clock::time_point getNow() const
Definition:
ndn-time.cpp:51
ns3::ndn::time::CustomSystemClock::getSince
std::string getSince() const
Definition:
ndn-time.cpp:36
ns3::ndn::time::CustomSystemClock
Definition:
ndn-time.hpp:31
ndn::time
Definition:
time-custom-clock.hpp:28
ns3::ndn::time::CustomSteadyClock
Definition:
ndn-time.hpp:43
ns3
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
content-store-impl.cpp:38
ns3::ndn::time::CustomSystemClock::getNow
system_clock::time_point getNow() const
Definition:
ndn-time.cpp:29
ns3::ndn::time::CustomSteadyClock::getSince
std::string getSince() const
Definition:
ndn-time.cpp:58
time-custom-clock.hpp
ns3::ndn::time::CustomSystemClock::toWaitDuration
system_clock::duration toWaitDuration(system_clock::duration d) const
Definition:
ndn-time.cpp:42
ns3::ndn::time::CustomSteadyClock::toWaitDuration
steady_clock::duration toWaitDuration(steady_clock::duration d) const
Definition:
ndn-time.cpp:64
ndnSIM
utils
ndn-time.hpp
Generated on Sun Feb 24 2019 22:16:08 for ndnSIM by
1.8.15