Classes | Public Types | Public Member Functions | List of all members
openmsx::HotKey Class Referencefinal

#include <HotKey.hh>

Inheritance diagram for openmsx::HotKey:
Inheritance graph
Collaboration diagram for openmsx::HotKey:
Collaboration graph


struct  HotKeyInfo

Public Types

using EventPtr = std::shared_ptr< const Event >
using BindMap = std::map< EventPtr, HotKeyInfo, LessDeref >
using KeySet = std::set< EventPtr, LessDeref >

Public Member Functions

 HotKey (RTScheduler &rtScheduler, GlobalCommandController &commandController, EventDistributor &eventDistributor)
 ~HotKey ()
void loadBindings (const XMLElement &config)
void saveBindings (XMLElement &config) const
- Public Member Functions inherited from openmsx::RTSchedulable
 RTSchedulable (const RTSchedulable &)=delete
RTSchedulableoperator= (const RTSchedulable &)=delete
void scheduleRT (uint64_t delta)
bool cancelRT ()
bool isPendingRT () const
- Public Member Functions inherited from openmsx::EventListener
virtual int signalEvent (const std::shared_ptr< const Event > &event)=0
 This method gets called when an event you are subscribed to occurs. More...

Additional Inherited Members

- Protected Member Functions inherited from openmsx::RTSchedulable
 RTSchedulable (RTScheduler &scheduler)
 ~RTSchedulable ()
- Protected Member Functions inherited from openmsx::EventListener
 EventListener ()
 ~EventListener ()

Detailed Description

Definition at line 23 of file HotKey.hh.

Member Typedef Documentation

◆ BindMap

Definition at line 34 of file HotKey.hh.

◆ EventPtr

using openmsx::HotKey::EventPtr = std::shared_ptr<const Event>

Definition at line 33 of file HotKey.hh.

◆ KeySet

Definition at line 35 of file HotKey.hh.

Constructor & Destructor Documentation

◆ HotKey()

openmsx::HotKey::HotKey ( RTScheduler rtScheduler,
GlobalCommandController commandController,
EventDistributor eventDistributor 

◆ ~HotKey()

openmsx::HotKey::~HotKey ( )

Member Function Documentation

◆ loadBindings()

void openmsx::HotKey::loadBindings ( const XMLElement config)

◆ saveBindings()

void openmsx::HotKey::saveBindings ( XMLElement config) const

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