ScummVM
Common::EventMapper Class Referenceabstract

A event mapper, which will map events to others. More...

#include <events.h>

Inheritance diagram for Common::EventMapper:

Public Member Functions

virtual ~EventMapper ()
 
virtual List< EventmapEvent (const Event &ev, EventSource *source)=0
 Map an incoming event to one or more action events. More...
 
virtual List< EventgetDelayedEvents ()=0
 

Detailed Description

A event mapper, which will map events to others.

An example for this is the Keymapper.

Definition at line 292 of file events.h.

Constructor & Destructor Documentation

◆ ~EventMapper()

virtual Common::EventMapper::~EventMapper ( )
inlinevirtual

Definition at line 294 of file events.h.

Member Function Documentation

◆ getDelayedEvents()

virtual List<Event> Common::EventMapper::getDelayedEvents ( )
pure virtual

Implemented in Common::DefaultEventMapper.

◆ mapEvent()

virtual List<Event> Common::EventMapper::mapEvent ( const Event ev,
EventSource source 
)
pure virtual

Map an incoming event to one or more action events.

Implemented in Common::DefaultEventMapper, and GUI::EventRecorder.


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