libecs::EventScheduler< Event_ > Class Template Reference
[The Model.]
Event scheduler.
More...
#include <EventScheduler.hpp>
List of all members.
|
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) |
Detailed Description
template<class Event_>
class libecs::EventScheduler< Event_ >
Event scheduler.
This class works as a sequential event scheduler with a heap-tree based priority queue.
The documentation for this class was generated from the following file: