NFD: Named Data Networking Forwarding Daemon 0.6.0 documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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::getStrategy
fw::Strategy & getStrategy() const
Definition:
strategy-choice-entry.hpp:68
nfd::fw::Strategy::getInstanceName
const Name & getInstanceName() const
Definition:
strategy.hpp:110
logger.hpp
nfd
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
Definition:
algorithm.hpp:32
nfd::strategy_choice::Entry::getStrategyInstanceName
const Name & getStrategyInstanceName() const
Definition:
strategy-choice-entry.cpp:42
nfd::strategy_choice::Entry::Entry
Entry(const Name &prefix)
Definition:
strategy-choice-entry.cpp:33
strategy.hpp
strategy-choice-entry.hpp
nfd::strategy_choice::Entry::setStrategy
void setStrategy(unique_ptr< fw::Strategy > strategy)
Definition:
strategy-choice-entry.cpp:48
nfd::strategy_choice::Entry::~Entry
~Entry()
daemon
table
strategy-choice-entry.cpp
Generated on Mon Oct 16 2017 13:51:50 for NFD: Named Data Networking Forwarding Daemon by
1.8.11