src/simulator/event-impl.h
changeset 1006 489e9fc7f14f
parent 209 8b343b9727d7
child 1009 adc3ac9baea8
--- a/src/simulator/event-impl.h	Fri Jul 27 09:50:21 2007 +0200
+++ b/src/simulator/event-impl.h	Fri Jul 27 09:53:15 2007 +0200
@@ -28,6 +28,8 @@
 class EventImpl {
 public:
   EventImpl ();
+  void Ref (void) const;
+  void Unref (void) const;
   virtual ~EventImpl () = 0;
   void Invoke (void);
   void Cancel (void);
@@ -37,6 +39,7 @@
 private:
   friend class Event;
   bool m_cancel;
+  mutable uint32_t m_count;
 };
 
 }; // namespace ns3