Lines Matching defs:Event

52 #include "debug/Event.hh"
89 * Common base class for Event and GlobalEvent, so they can share flag
119 /// Event priorities, to provide tie-breakers for events scheduled
189 class Event : public EventBase, public Serializable
203 Event *nextBin;
204 Event *nextInBin;
206 static Event *insertBefore(Event *event, Event *curr);
207 static Event *removeItem(Event *event, Event *last);
214 /// Global counter to generate unique IDs for Event instances
318 if (flags.isSet(Event::Managed))
326 if (flags.isSet(Event::Managed))
342 * Event constructor
345 Event(Priority p = Default_Pri, Flags f = 0)
360 virtual ~Event();
407 //! Global Event. By default, there is no GlobalEvent, so return
416 operator<(const Event &l, const Event &r)
423 operator>(const Event &l, const Event &r)
430 operator<=(const Event &l, const Event &r)
436 operator>=(const Event &l, const Event &r)
443 operator==(const Event &l, const Event &r)
449 operator!=(const Event &l, const Event &r)
496 Event *head;
503 std::list<Event*> async_queue;
529 void insert(Event *event);
530 void remove(Event *event);
535 void asyncInsert(Event *event);
615 void schedule(Event *event, Tick when, bool global = false);
619 void deschedule(Event *event);
623 void reschedule(Event *event, Tick when, bool always = false);
628 Event *getHead() const { return head; }
630 Event *serviceOne();
686 Event* replaceHead(Event* s);
713 * @warn Only use this method after unserializing an Event.
715 void checkpointReschedule(Event *event);
744 schedule(Event &event, Tick when)
750 deschedule(Event &event)
756 reschedule(Event &event, Tick when, bool always = false)
762 schedule(Event *event, Tick when)
768 deschedule(Event *event)
774 reschedule(Event *event, Tick when, bool always = false)
788 class EventWrapper : public Event
795 : Event(p), object(obj)
802 : Event(p), object(&obj)
819 class EventFunctionWrapper : public Event
830 : Event(p), callback(callback), _name(name)