equal
deleted
inserted
replaced
53 |
53 |
54 virtual void Destroy (); |
54 virtual void Destroy (); |
55 virtual bool IsFinished (void) const; |
55 virtual bool IsFinished (void) const; |
56 virtual Time Next (void) const; |
56 virtual Time Next (void) const; |
57 virtual void Stop (void); |
57 virtual void Stop (void); |
58 virtual void Stop (Time const &time); |
|
59 virtual EventId Schedule (Time const &time, EventImpl *event); |
58 virtual EventId Schedule (Time const &time, EventImpl *event); |
60 virtual EventId ScheduleNow (EventImpl *event); |
59 virtual EventId ScheduleNow (EventImpl *event); |
61 virtual EventId ScheduleDestroy (EventImpl *event); |
60 virtual EventId ScheduleDestroy (EventImpl *event); |
62 virtual void Remove (const EventId &ev); |
61 virtual void Remove (const EventId &ev); |
63 virtual void Cancel (const EventId &ev); |
62 virtual void Cancel (const EventId &ev); |
87 void ProcessOneEvent (void); |
86 void ProcessOneEvent (void); |
88 uint64_t NextTs (void) const; |
87 uint64_t NextTs (void) const; |
89 |
88 |
90 typedef std::list<EventId> DestroyEvents; |
89 typedef std::list<EventId> DestroyEvents; |
91 DestroyEvents m_destroyEvents; |
90 DestroyEvents m_destroyEvents; |
92 uint64_t m_stopAt; |
|
93 bool m_stop; |
91 bool m_stop; |
94 bool m_running; |
92 bool m_running; |
95 |
93 |
96 // The following variables are protected using the m_mutex |
94 // The following variables are protected using the m_mutex |
97 Ptr<Scheduler> m_events; |
95 Ptr<Scheduler> m_events; |