table: shortcuts between FIB, PIT, Measurements, StrategyChoice
refs #1202
Change-Id: Ie63ab792e840de7e0889d385d3e8ea8a112cb7e5
diff --git a/daemon/table/measurements-entry.hpp b/daemon/table/measurements-entry.hpp
index c7145d7..60a428f 100644
--- a/daemon/table/measurements-entry.hpp
+++ b/daemon/table/measurements-entry.hpp
@@ -13,6 +13,12 @@
namespace nfd {
+class NameTree;
+
+namespace name_tree {
+class Entry;
+}
+
class Measurements;
namespace measurements {
@@ -35,8 +41,11 @@
private: // lifetime
time::Point m_expiry;
EventId m_cleanup;
+ shared_ptr<name_tree::Entry> m_nameTreeEntry;
- friend class ::nfd::Measurements;
+ friend class nfd::NameTree;
+ friend class nfd::name_tree::Entry;
+ friend class nfd::Measurements;
};
inline const Name&