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

#include <Event.h>

Inheritance diagram for libsidplayfp::Event:
libsidplayfp::EventCallback< libsidplayfp::MOS6510 > libsidplayfp::EventCallback< libsidplayfp::Timer > libsidplayfp::EventCallback< libsidplayfp::MOS652X > libsidplayfp::EventCallback< libsidplayfp::SerialPort > libsidplayfp::EventCallback< libsidplayfp::MOS656X > libsidplayfp::EventCallback< This > libsidplayfp::HardSID libsidplayfp::InterruptSource libsidplayfp::MOS656X libsidplayfp::SerialPort libsidplayfp::Timer libsidplayfp::Tod

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, and libsidplayfp::InterruptSource.


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