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
strategy-choice-entry.cpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26
#include "
strategy-choice-entry.hpp
"
27
#include "
core/logger.hpp
"
28
#include "
fw/strategy.hpp
"
29
30
namespace
nfd
{
31
namespace
strategy_choice {
32
33
Entry::Entry
(
const
Name
& prefix)
34
: m_prefix(prefix)
35
, m_nameTreeEntry(nullptr)
36
{
37
}
38
39
Entry::~Entry
() =
default
;
40
41
const
Name
&
42
Entry::getStrategyInstanceName
()
const
43
{
44
return
this->
getStrategy
().
getInstanceName
();
45
}
46
47
void
48
Entry::setStrategy
(unique_ptr<fw::Strategy> strategy)
49
{
50
m_strategy = std::move(strategy);
51
}
52
53
}
// namespace strategy_choice
54
}
// namespace nfd
nfd::strategy_choice::Entry::Entry
Entry(const Name &prefix)
Definition:
strategy-choice-entry.cpp:33
nfd::strategy_choice::Entry::getStrategyInstanceName
const Name & getStrategyInstanceName() const
Definition:
strategy-choice-entry.cpp:42
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:40
ndn::Name
Represents an absolute name.
Definition:
name.hpp:42
strategy.hpp
nfd::strategy_choice::Entry::getStrategy
fw::Strategy & getStrategy() const
Definition:
strategy-choice-entry.hpp:68
strategy-choice-entry.hpp
nfd::strategy_choice::Entry::setStrategy
void setStrategy(unique_ptr< fw::Strategy > strategy)
Definition:
strategy-choice-entry.cpp:48
nfd::fw::Strategy::getInstanceName
const Name & getInstanceName() const
Definition:
strategy.hpp:110
nfd::strategy_choice::Entry::~Entry
~Entry()
logger.hpp
ndnSIM
NFD
daemon
table
strategy-choice-entry.cpp
Generated on Tue Aug 7 2018 16:19:18 for ndnSIM by
1.8.14