20 #ifndef NDNSIM_HELPER_NDN_STACK_HELPER_HPP    21 #define NDNSIM_HELPER_NDN_STACK_HELPER_HPP    23 #include "ns3/ndnSIM/model/ndn-common.hpp"    26 #include "ns3/object-factory.h"    28 #include "ns3/node-container.h"    72   SetStackAttributes(
const std::string& attr1 = 
"", 
const std::string& value1 = 
"",
    73                      const std::string& attr2 = 
"", 
const std::string& value2 = 
"",
    74                      const std::string& attr3 = 
"", 
const std::string& value3 = 
"",
    75                      const std::string& attr4 = 
"", 
const std::string& value4 = 
"");
    81   setCsSize(
size_t maxSize);
    87   setPolicy(
const std::string& policy);
    96   SetOldContentStore(
const std::string& contentStoreClass, 
const std::string& attr1 = 
"",
    97                   const std::string& value1 = 
"", 
const std::string& attr2 = 
"",
    98                   const std::string& value2 = 
"", 
const std::string& attr3 = 
"",
    99                   const std::string& value3 = 
"", 
const std::string& attr4 = 
"",
   100                   const std::string& value4 = 
"");
   102   typedef Callback<shared_ptr<Face>, Ptr<Node>, Ptr<L3Protocol>, Ptr<NetDevice>>
   147   Install(
const std::string& nodeName) 
const;
   161   Install(Ptr<Node> node) 
const;
   176   Install(
const NodeContainer& c) 
const;
   191   SetDefaultRoutes(
bool needSet);
   202   Update(Ptr<Node> node);
   210   Update(
const NodeContainer& c);
   218   Update(
const std::string& nodeName);
   243   disableStrategyChoiceManager();
   249   disableForwarderStatusManager();
   253   DefaultNetDeviceCallback(Ptr<Node> node, Ptr<L3Protocol> 
ndn, Ptr<NetDevice> netDevice) 
const;
   256   PointToPointNetDeviceCallback(Ptr<Node> node, Ptr<L3Protocol> 
ndn,
   257                                 Ptr<NetDevice> netDevice) 
const;
   259   createAndRegisterFace(Ptr<Node> node, Ptr<L3Protocol> 
ndn, Ptr<NetDevice> device) 
const;
   261   bool m_isRibManagerDisabled;
   263   bool m_isForwarderStatusManagerDisabled;
   264   bool m_isStrategyChoiceManagerDisabled;
   268   setCustomNdnCxxClocks();
   271   ObjectFactory m_ndnFactory;
   272   ObjectFactory m_contentStoreFactory;
   274   bool m_needSetDefaultRoutes;
   277   typedef std::function<std::unique_ptr<nfd::cs::Policy>()> PolicyCreationCallback;
   278   PolicyCreationCallback m_csPolicyCreationFunc;
   280   std::map<std::string, PolicyCreationCallback> m_csPolicies;
   282   typedef std::list<std::pair<TypeId, FaceCreateCallback>> NetDeviceCallbackList;
   283   NetDeviceCallbackList m_netDeviceCallbacks;
   289 #endif // NDNSIM_HELPER_NDN_STACK_HELPER_HPP Copyright (c) 2011-2015 Regents of the University of California. 
 
Copyright (c) 2011-2015 Regents of the University of California. 
 
Callback< shared_ptr< Face >, Ptr< Node >, Ptr< L3Protocol >, Ptr< NetDevice > > FaceCreateCallback
 
Helper class to install NDN stack and configure its parameters. 
 
Copyright (c) 2011-2015 Regents of the University of California. 
 
ndn L3Protocol
Copyright (c) 2011-2015 Regents of the University of California. 
 
ndn StackHelper
Copyright (c) 2011-2015 Regents of the University of California.