Public Member Functions | |
void | addEvent (Event event) |
void | delEvent (Event event) |
void | clearEvents () |
Iterator< Event > | getIterator () |
ArrayList< StartBlocking > | getAllBlockingsArrayList () |
ArrayList< StartBlocking > | getCurrentBlockingsArrayList () |
void | addCurrentBlockings (StartBlocking event) |
void | delCurrentBlockings (StartBlocking event) |
void | processEvents (int time) |
Static Public Member Functions | |
static EventList | getInstance () |
This class stores all events.
|
inline |
Adds an event to the list of currently active events.
event | the event |
|
inline |
Adds an event.
event | the event |
|
inline |
Removes all events.
|
inline |
Removes an event from the list of currently active events.
event | the event |
|
inline |
Removes an event.
event | the event |
|
inline |
Gets the list with all blocking events. Note that this is not optimal for application performance as new a complete new ArrayList is created (applies only if there are lots of events).
|
inline |
Gets the list with the currently active events.
|
inlinestatic |
|
inline |
Gets an iterator over all events.
|
inline |
Process next event(s).
time | the current absolute time of the simulation |