examples+helper+model: Allowing to disable NFD managers
Change-Id: I471023fc23ffabbe14d9668426b4c1b03e4932ab
Refs: #3328
diff --git a/helper/ndn-stack-helper.hpp b/helper/ndn-stack-helper.hpp
index 472f0ab..4b6f38b 100644
--- a/helper/ndn-stack-helper.hpp
+++ b/helper/ndn-stack-helper.hpp
@@ -212,6 +212,30 @@
void
UpdateAll();
+ /**
+ *\brief Disable the RIB manager of NFD
+ */
+ void
+ disableRibManager();
+
+ /**
+ * \brief Disable Face Manager
+ */
+ void
+ disableFaceManager();
+
+ /**
+ * \brief Disable Strategy Choice Manager
+ */
+ void
+ disableStrategyChoiceManager();
+
+ /**
+ * \brief Disable Status Server
+ */
+ void
+ disableStatusServer();
+
private:
shared_ptr<NetDeviceFace>
DefaultNetDeviceCallback(Ptr<Node> node, Ptr<L3Protocol> ndn, Ptr<NetDevice> netDevice) const;
@@ -222,6 +246,11 @@
shared_ptr<NetDeviceFace>
createAndRegisterFace(Ptr<Node> node, Ptr<L3Protocol> ndn, Ptr<NetDevice> device) const;
+ bool m_isRibManagerDisabled;
+ bool m_isFaceManagerDisabled;
+ bool m_isStatusServerDisabled;
+ bool m_isStrategyChoiceManagerDisabled;
+
public:
void
setCustomNdnCxxClocks();