|
Public Types |
typedef DynamicPriorityQueue<
Event >::Index | EventIndex_ |
|
typedef std::vector< EventIndex > | EventIndexVector |
|
typedef std::vector< EventIndexVector > | EventIndexVectorVector |
Public Member Functions |
|
| DECLARE_TYPE (Event_, Event) |
|
| DECLARE_TYPE (DynamicPriorityQueue< Event >, EventPriorityQueue) |
|
| DECLARE_TYPE (EventIndex_, EventIndex) |
|
const EventIndex | getSize () const |
|
EventCref | getTopEvent () const |
|
EventRef | getTopEvent () |
|
EventIndex | getTopIndex () |
|
EventCref | getEvent (const EventIndex anIndex) const |
|
EventRef | getEvent (const EventIndex anIndex) |
|
void | step () |
|
void | updateAllEvents (TimeParam aCurrentTime) |
|
void | updateEvent (const EventIndex anIndex, TimeParam aCurrentTime) |
|
void | updateEventDependency () |
|
void | updateEventDependency (const EventIndex anIndex) |
|
void | clear () |
|
const EventIndex | addEvent (EventCref anEvent) |
|
const EventIndexVector & | getDependencyVector (const EventIndex anIndex) |
This class works as a sequential event scheduler with a heap-tree based priority queue.