#include <ev.h>
Inheritance diagram for Event:
Public Member Functions | |
Event (timeunits t, unsigned long id=0) | |
Event (timeunits t, char *name, unsigned long id=0) | |
virtual | ~Event (void) |
virtual void | Handle (void)=0 |
timeunits | Time (void) const |
void | SetTime (timeunits t) |
char * | GetName (void) |
unsigned int | GetId (void) const |
|
Simple constructor. Creates an anonymous but potentially identifiable event, to be fired at time t.
|
|
Complete constructor. Creates an event.
|
|
Destructor. MUST BE virtual, to free the name string. |
|
|
|
|
|
Event-handler function, to be called at activation time Being event-type dependent, it must be defined in derived classes |
|
Modifies activation time No check is made to avoid setting past times.
|
|
|