openMSX
Public Member Functions | List of all members
openmsx::EventDelay Class Referencefinal

This class is responsible for translating host events into MSX events. More...

#include <EventDelay.hh>

Inheritance diagram for openmsx::EventDelay:
Inheritance graph
[legend]
Collaboration diagram for openmsx::EventDelay:
Collaboration graph
[legend]

Public Member Functions

 EventDelay (Scheduler &scheduler, CommandController &commandController, EventDistributor &eventDistributor, MSXEventDistributor &msxEventDistributor, ReverseManager &reverseManager)
 
 ~EventDelay ()
 
void sync (EmuTime::param curEmu)
 
void flush ()
 

Detailed Description

This class is responsible for translating host events into MSX events.

It also translates host event timing into EmuTime. To better do this we introduce a small delay (default 0.03s) in this translation.

Definition at line 26 of file EventDelay.hh.

Constructor & Destructor Documentation

◆ EventDelay()

openmsx::EventDelay::EventDelay ( Scheduler scheduler,
CommandController commandController,
EventDistributor eventDistributor,
MSXEventDistributor msxEventDistributor,
ReverseManager reverseManager 
)

◆ ~EventDelay()

openmsx::EventDelay::~EventDelay ( )

Member Function Documentation

◆ flush()

void openmsx::EventDelay::flush ( )

◆ sync()

void openmsx::EventDelay::sync ( EmuTime::param  curEmu)

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