#include <event_scheduler.h>

Local Types | |
| typedef EventInfo * | EventHandle |
| typedef std::set< EventHandle, EventSorter > | EventSet |
| static const EventHandle | NO_EVENT |
| DECLARE_HANDLES (EventTag) | |
Public Member Functions | |
Construction / Destruction | |
| EventScheduler () | |
| virtual | ~EventScheduler () |
Event Management | |
| EventHandle | new_event (EventHandler &eh, double t, const EventTagHandle ð) throw () |
| void | delete_event (EventHandle) throw () |
| void | move_event (EventHandle, double) throw () |
Info Access | |
| double | current_time (void) const throw () |
| double | next_event_time (void) const throw () |
| bool | empty (void) const throw () |
| EventHandle | front_w (void) throw () |
| const EventHandle | front (void) const throw () |
Running | |
| void | playback (double stop_time) throw () |
| void | clear (double new_time=0.0) throw () |
Classes | |
| class | EventHandler |
| Interface for event-handling classes. More... | |
| class | EventInfo |
| struct | EventSorter |
| class | EventTag |
| Stuff to derive from, thereby adding tagged info to events. More... | |
| typedef std::set<EventHandle,EventSorter> shawn::EventScheduler::EventSet |
| shawn::EventScheduler::EventScheduler | ( | ) |
| virtual shawn::EventScheduler::~EventScheduler | ( | ) | [virtual] |
| shawn::EventScheduler::DECLARE_HANDLES | ( | EventTag | ) |
| EventHandle shawn::EventScheduler::new_event | ( | EventHandler & | eh, | |
| double | t, | |||
| const EventTagHandle & | eth | |||
| ) | throw () |
Creates a new event that timeouts at time t, at which time eh ->timeout() will be called. tag may be NULL or anything the handler might find useful
| void shawn::EventScheduler::delete_event | ( | EventHandle | ) | throw () |
Removes the specified event. Must not be called from within timeout() (at least for the timeouting event)
| void shawn::EventScheduler::move_event | ( | EventHandle | , | |
| double | ||||
| ) | throw () |
Re-schedules the event for a different time, abandoning the current one
| double shawn::EventScheduler::current_time | ( | void | ) | const throw () |
| double shawn::EventScheduler::next_event_time | ( | void | ) | const throw () |
| bool shawn::EventScheduler::empty | ( | void | ) | const throw () |
| EventHandle shawn::EventScheduler::front_w | ( | void | ) | throw () |
| const EventHandle shawn::EventScheduler::front | ( | void | ) | const throw () |
| void shawn::EventScheduler::playback | ( | double | stop_time | ) | throw () |
| void shawn::EventScheduler::clear | ( | double | new_time = 0.0 |
) | throw () |
const EventHandle shawn::EventScheduler::NO_EVENT [static] |
1.5.6