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
k
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Functions
a
b
c
d
e
f
g
h
i
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
+
Enumerator
a
c
d
e
i
k
l
m
n
p
r
s
u
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
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
d
e
f
i
l
m
n
p
r
s
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
ndnlp-sequence-generator.cpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
25
#include "
ndnlp-sequence-generator.hpp
"
26
27
namespace
nfd
{
28
namespace
ndnlp {
29
30
SequenceBlock::SequenceBlock
(uint64_t start,
size_t
count)
31
: m_start(start)
32
, m_count(count)
33
{
34
}
35
36
SequenceGenerator::SequenceGenerator
()
37
: m_next(0)
38
{
39
}
40
41
SequenceBlock
42
SequenceGenerator::nextBlock
(
size_t
count)
43
{
44
SequenceBlock
sb(m_next, count);
45
m_next += count;
46
return
sb;
47
}
48
49
}
// namespace ndnlp
50
}
// namespace nfd
ndnlp-sequence-generator.hpp
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:40
nfd::ndnlp::SequenceBlock
represents a block of sequence numbers
Definition:
ndnlp-sequence-generator.hpp:35
nfd::ndnlp::SequenceGenerator::nextBlock
SequenceBlock nextBlock(size_t count)
generates a block of consecutive sequence numbers
Definition:
ndnlp-sequence-generator.cpp:42
nfd::ndnlp::SequenceBlock::SequenceBlock
SequenceBlock(uint64_t start, size_t count)
Definition:
ndnlp-sequence-generator.cpp:30
nfd::ndnlp::SequenceGenerator::SequenceGenerator
SequenceGenerator()
Definition:
ndnlp-sequence-generator.cpp:36
ndnSIM
NFD
daemon
face
ndnlp-sequence-generator.cpp
Generated on Fri Feb 23 2018 12:30:55 for ndnSIM by
1.8.14