#include <EventScheduler.hpp>
Inheritance diagram for libecs::EventBase:
A subclass must define three customization points;
void fire() { (1) do what this event is supposed to do. (2) setTime( next scheduled time of this event ); }
void update( EventCref anEvent ) { Given the last fired Event (anEvent) that this Event depends on,
(1) recalculate scheduled time (if necessary). (2) setTime( new scheduled time ). }
const bool isDependentOn( EventCref anEvent ) { Return true if this Event must be updated when the given Event (anEvent) fired. Otherwise return false; }