17 #ifndef KITE_ROUTING_EVENT_QUEUE_H 18 #define KITE_ROUTING_EVENT_QUEUE_H 22 #include "kite/RoutingEvent.h" 40 inline bool empty ()
const;
41 inline size_t size ()
const;
44 void load (
const vector<TrackElement*>& );
50 void prepareRepair ();
53 void _keyCheck ()
const;
54 Record* _getRecord ()
const;
55 string _getString ()
const;
56 inline string _getTypeName ()
const;
60 unsigned int _topEventLevel;
61 RoutingEventSet _pushRequests;
62 multiset<RoutingEvent*,RoutingEvent::Compare> _events;
75 inline string RoutingEventQueue::_getTypeName ()
const {
return "EventQueue"; }
82 #endif // KITE_ROUTING_EVENT_QUEUE_H Atomic Placement Request for a TrackSegment.
Definition: RoutingEvent.h:55
RoutingEventQueue()
Definition: RoutingEventQueue.cpp:47
bool empty() const
Definition: RoutingEventQueue.h:72
void add(TrackElement *, unsigned int level)
Definition: RoutingEventQueue.cpp:76
RoutingEvent * pop()
Definition: RoutingEventQueue.cpp:120
void commit()
Definition: RoutingEventQueue.cpp:90
unsigned int getTopEventLevel() const
Definition: RoutingEventQueue.h:74
~RoutingEventQueue()
Definition: RoutingEventQueue.cpp:54
void repushInvalidateds()
Definition: RoutingEventQueue.cpp:171
void push(RoutingEvent *)
Definition: RoutingEventQueue.h:76
size_t size() const
Definition: RoutingEventQueue.h:73
Abstract Class for all Elements inserted inside a Track.
Definition: TrackElement.h:100
The priority Queue of RoutingEvent.
Definition: RoutingEventQueue.h:35
void clear()
Definition: RoutingEventQueue.cpp:203
void repush(RoutingEvent *)
Definition: RoutingEventQueue.cpp:149
The namespace dedicated to Kite.
Definition: Constants.h:22
void load(const vector< TrackElement *> &)
Definition: RoutingEventQueue.cpp:58