libsidplayfp
1.0.3
|
#include <event.h>
Public Member Functions | |
Event (const char *const name) | |
virtual void | event ()=0 |
Friends | |
class | EventScheduler |
Event scheduler (based on alarm from Vice). Created in 2001 by Simon A. White.
Optimized EventScheduler and corresponding Event class by Antti S. Lankila in 2009.
Event::Event | ( | const char *const | name | ) | [inline] |
Events are used for delayed execution. Name is not used by code, but is useful for debugging.
name | Descriptive string of the event. |
virtual void Event::event | ( | ) | [pure virtual] |
Event code to be executed. Events are allowed to safely reschedule themselves with the EventScheduler during invocations.