More corrections. Now everything is ready for real tests
diff --git a/model/forwarding-strategy/fw-stats.h b/model/forwarding-strategy/fw-stats.h
index e2432b0..2d9f1fc 100644
--- a/model/forwarding-strategy/fw-stats.h
+++ b/model/forwarding-strategy/fw-stats.h
@@ -22,6 +22,8 @@
#ifndef NDNSIM_FW_STATS_H
#define NDNSIM_FW_STATS_H
+#include "ns3/event-id.h"
+
#include "best-route.h"
#include "../../utils/stats-tree.h"
@@ -30,7 +32,7 @@
/**
* \ingroup ccnx
- * \brief Best route strategy
+ * \brief Strategy based on best route and adding statistics gathering capabilities
*/
class FwStats :
public BestRoute
@@ -62,9 +64,21 @@
virtual void
WillErasePendingInterest (Ptr<CcnxPitEntry> pitEntry);
-
+
+ // from Object
+ void
+ DoDispose ();
+
+private:
+ void
+ RefreshStats ();
+
+ void
+ ScheduleRefreshingIfNecessary ();
+
private:
::ndnSIM::StatsTree m_stats;
+ EventId m_statsRefreshEvent;
typedef BestRoute super;
};