libsidplayfp  2.0.2
Public Member Functions | Friends | List of all members
libsidplayfp::Event Class Referenceabstract

#include <Event.h>

Inheritance diagram for libsidplayfp::Event:
Inheritance graph
[legend]

Public Member Functions

 Event (const char *const name)
 
virtual void event ()=0
 

Friends

class EventScheduler
 

Detailed Description

An Event object that can be inserted in the Event Scheduler.

Constructor & Destructor Documentation

◆ Event()

libsidplayfp::Event::Event ( const char *const  name)
inline

Events are used for delayed execution. Name is not used by code, but is useful for debugging.

Parameters
nameDescriptive string of the event.

Member Function Documentation

◆ event()

virtual void libsidplayfp::Event::event ( )
pure virtual

Event code to be executed. Events are allowed to safely reschedule themselves with the EventScheduler during invocations.

Implemented in libsidplayfp::MOS656X, libsidplayfp::InterruptSource6526, and libsidplayfp::InterruptSource8521.


The documentation for this class was generated from the following file: