Provides parsing for tables
configuration file section.
More...
#include <tables-config-section.hpp>
Public Member Functions | |
TablesConfigSection (Cs &cs, Pit &pit, Fib &fib, StrategyChoice &strategyChoice, Measurements &measurements, NetworkRegionTable &networkRegionTable) | |
void | setConfigFile (ConfigFile &configFile) |
void | ensureTablesAreConfigured () |
Provides parsing for tables
configuration file section.
This class enables configuration of CS, PIT, FIB, Strategy Choice, Measurements, and Network Region tables.
Definition at line 46 of file tables-config-section.hpp.
nfd::TablesConfigSection::TablesConfigSection | ( | Cs & | cs, |
Pit & | pit, | ||
Fib & | fib, | ||
StrategyChoice & | strategyChoice, | ||
Measurements & | measurements, | ||
NetworkRegionTable & | networkRegionTable | ||
) |
Definition at line 38 of file tables-config-section.cpp.
void nfd::TablesConfigSection::setConfigFile | ( | ConfigFile & | configFile | ) |
Definition at line 56 of file tables-config-section.cpp.
References nfd::ConfigFile::addSectionHandler().
Referenced by nfd::ignoreRibAndLogSections(), nfd::Nfd::reloadConfigFile(), and ns3::ndn::L3Protocol::setCsReplacementPolicy().
void nfd::TablesConfigSection::ensureTablesAreConfigured | ( | ) |
Definition at line 64 of file tables-config-section.cpp.
References nfd::StrategyChoice::hasStrategy(), nfd::StrategyChoice::insert(), NFD_LOG_INFO, nfd::cs::Cs::setLimit(), and ndn::Name::toUri().