#include <CNCL/EventList.h>
CN_EVENTLIST
CNObject
None
CNEvent, CNEventScheduler
CNEventList
is the list of events managed by CNEventScheduler
.
It is a wrapper around CNDLList
for creating a list of sorted
events. CNEvents are sorted by their scheduled time and their priority.
Constructors:
CNEventList();
CNEventList(CNParam *param);
In addition to the member functions required by CNCL, CNEventList
provides:
void add_event(CNEvent *ev);
void delete_event(CNEventID id);
void delete_events(CNEventHandler *evh, bool to);
to
equals TRUE the events
addressed to event handler evh
are deleted, else the events
coming from that event handler.
void delete_all(CNEventID id);
CNEvent *next_event();
CNEvent *peek_event();
CNEvent *peek_event(CNEventID id);
id
, NIL
if not available.
Go to the first, previous, next, last section, table of contents.