ndnSIM-v2: Initial implementation
- Name, name::Components, Interest, Data now use ndn-cxx
- Ptr is replaced with shared_ptr for ndn-cxx structures
Credits for the change also to Mickey Sweat, Wentao Shang, and Alex Afanasyev
diff --git a/apps/ndn-consumer-batches.hpp b/apps/ndn-consumer-batches.hpp
index 0c7c25d..79b5d2b 100644
--- a/apps/ndn-consumer-batches.hpp
+++ b/apps/ndn-consumer-batches.hpp
@@ -21,6 +21,8 @@
#ifndef NDN_CONSUMER_BATCHES_H
#define NDN_CONSUMER_BATCHES_H
+#include "ns3/ndnSIM/model/ndn-common.hpp"
+
#include "ndn-consumer.hpp"
#include "ns3/traced-value.h"
#include "../utils/batches.hpp"
@@ -44,13 +46,13 @@
// From App
// virtual void
- // OnInterest (const Ptr<const Interest> &interest);
+ // OnInterest (const shared_ptr<const Interest> &interest);
// virtual void
- // OnNack (const Ptr<const Interest> &interest);
+ // OnNack (const shared_ptr<const Interest> &interest);
// virtual void
- // OnData (const Ptr<const Data> &contentObject,
+ // OnData (const shared_ptr<const Data> &contentObject,
// const Ptr<const Packet> &payload);
// virtual void