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

#include <InputEventGenerator.hh>

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

Public Member Functions

 InputEventGenerator (CommandController &commandController, EventDistributor &eventDistributor, GlobalSettings &globalSettings)
 
 InputEventGenerator (const InputEventGenerator &)=delete
 
 InputEventGenerator (InputEventGenerator &&)=delete
 
InputEventGeneratoroperator= (const InputEventGenerator &)=delete
 
InputEventGeneratoroperator= (InputEventGenerator &&)=delete
 
 ~InputEventGenerator ()
 
void wait ()
 Wait for event(s) and handle it.
 
BooleanSettinggetGrabInput ()
 Input Grab on or off.
 
void updateGrab (bool grab)
 Must be called when 'grabinput' or 'fullscreen' setting changes.
 
void poll ()
 
JoystickManagergetJoystickManager ()
 

Detailed Description

Definition at line 18 of file InputEventGenerator.hh.

Constructor & Destructor Documentation

◆ InputEventGenerator() [1/3]

openmsx::InputEventGenerator::InputEventGenerator ( CommandController commandController,
EventDistributor eventDistributor,
GlobalSettings globalSettings 
)

◆ InputEventGenerator() [2/3]

openmsx::InputEventGenerator::InputEventGenerator ( const InputEventGenerator )
delete

◆ InputEventGenerator() [3/3]

openmsx::InputEventGenerator::InputEventGenerator ( InputEventGenerator &&  )
delete

◆ ~InputEventGenerator()

openmsx::InputEventGenerator::~InputEventGenerator ( )

Member Function Documentation

◆ getGrabInput()

BooleanSetting & openmsx::InputEventGenerator::getGrabInput ( )
inline

Input Grab on or off.

Definition at line 36 of file InputEventGenerator.hh.

Referenced by openmsx::VisibleSurface::VisibleSurface(), and openmsx::VisibleSurface::~VisibleSurface().

◆ getJoystickManager()

JoystickManager & openmsx::InputEventGenerator::getJoystickManager ( )
inline

Definition at line 42 of file InputEventGenerator.hh.

◆ operator=() [1/2]

InputEventGenerator & openmsx::InputEventGenerator::operator= ( const InputEventGenerator )
delete

◆ operator=() [2/2]

InputEventGenerator & openmsx::InputEventGenerator::operator= ( InputEventGenerator &&  )
delete

◆ poll()

void openmsx::InputEventGenerator::poll ( )

◆ updateGrab()

void openmsx::InputEventGenerator::updateGrab ( bool  grab)

Must be called when 'grabinput' or 'fullscreen' setting changes.

Definition at line 406 of file InputEventGenerator.cc.

Referenced by openmsx::VisibleSurface::executeRT().

◆ wait()

void openmsx::InputEventGenerator::wait ( )

Wait for event(s) and handle it.

This method should be called from the main thread.

Definition at line 42 of file InputEventGenerator.cc.

References poll().


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