NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
tables-config-section.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26
#ifndef NFD_MGMT_TABLES_CONFIG_SECTION_HPP
27
#define NFD_MGMT_TABLES_CONFIG_SECTION_HPP
28
29
#include "
table/fib.hpp
"
30
#include "
table/pit.hpp
"
31
#include "
table/cs.hpp
"
32
#include "
table/measurements.hpp
"
33
#include "
table/strategy-choice.hpp
"
34
35
#include "
core/config-file.hpp
"
36
37
namespace
nfd
{
38
39
class
TablesConfigSection
40
{
41
public
:
42
TablesConfigSection
(Cs& cs,
43
Pit
& pit,
44
Fib
& fib,
45
StrategyChoice
& strategyChoice,
46
Measurements
& measurements);
47
48
void
49
setConfigFile
(
ConfigFile
& configFile);
50
51
void
52
ensureTablesAreConfigured
();
53
54
private
:
55
56
void
57
onConfig(
const
ConfigSection
& configSection,
58
bool
isDryRun,
59
const
std::string& filename);
60
61
void
62
processSectionStrategyChoice(
const
ConfigSection
& configSection,
63
bool
isDryRun);
64
65
private
:
66
Cs& m_cs;
67
// Pit& m_pit;
68
// Fib& m_fib;
69
StrategyChoice
& m_strategyChoice;
70
// Measurements& m_measurements;
71
72
bool
m_areTablesConfigured;
73
74
private
:
75
76
static
const
size_t
DEFAULT_CS_MAX_PACKETS;
77
};
78
79
}
// namespace nfd
80
81
#endif // NFD_MGMT_TABLES_CONFIG_SECTION_HPP
nfd::TablesConfigSection::TablesConfigSection
TablesConfigSection(Cs &cs, Pit &pit, Fib &fib, StrategyChoice &strategyChoice, Measurements &measurements)
Definition:
tables-config-section.cpp:38
nfd::TablesConfigSection::ensureTablesAreConfigured
void ensureTablesAreConfigured()
Definition:
tables-config-section.cpp:62
nfd::StrategyChoice
represents the Strategy Choice table
Definition:
strategy-choice.hpp:45
cs.hpp
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
nfd::ConfigFile
Definition:
config-file.hpp:47
nfd::Fib
represents the FIB
Definition:
fib.hpp:44
fib.hpp
nfd::Measurements
represents the Measurements table
Definition:
measurements.hpp:75
config-file.hpp
nfd::Pit
represents the Interest Table
Definition:
pit.hpp:48
strategy-choice.hpp
pit.hpp
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:38
nfd::ConfigSection
boost::property_tree::ptree ConfigSection
Definition:
ndn-l3-protocol.hpp:39
nfd::TablesConfigSection
Definition:
tables-config-section.hpp:39
measurements.hpp
nfd::TablesConfigSection::setConfigFile
void setConfigFile(ConfigFile &configFile)
Definition:
tables-config-section.cpp:54
ndnSIM
NFD
daemon
mgmt
tables-config-section.hpp
Generated on Tue Feb 23 2016 22:18:44 for ndnSIM by
1.8.11