NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
strategy-choice-entry.cpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
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_strategy(nullptr)
36 {
37 }
38 
39 const Name&
41 {
42  return m_strategy->getName();
43 }
44 
45 } // namespace strategy_choice
46 } // namespace nfd
const Name & getStrategyName() const
const Name & getName() const
a Name that represent the Strategy program
Definition: strategy.hpp:154