table: shortcuts between FIB, PIT, Measurements, StrategyChoice
refs #1202
Change-Id: Ie63ab792e840de7e0889d385d3e8ea8a112cb7e5
diff --git a/daemon/table/pit-entry.hpp b/daemon/table/pit-entry.hpp
index c9cfdac..aeff8d8 100644
--- a/daemon/table/pit-entry.hpp
+++ b/daemon/table/pit-entry.hpp
@@ -12,6 +12,13 @@
#include "core/scheduler.hpp"
namespace nfd {
+
+class NameTree;
+
+namespace name_tree {
+class Entry;
+}
+
namespace pit {
/** \class InRecordCollection
@@ -95,6 +102,10 @@
const Interest m_interest;
InRecordCollection m_inRecords;
OutRecordCollection m_outRecords;
+ shared_ptr<name_tree::Entry> m_nameTreeEntry;
+
+ friend class nfd::NameTree;
+ friend class nfd::name_tree::Entry;
};
inline const Interest&