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
- 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 ()
void scheduleRT (uint64_t delta)
bool cancelRT ()
bool isPendingRT () const
- Protected Member Functions inherited from openmsx::EventListener
 EventListener ()
 ~EventListener ()

Detailed Description

Definition at line 23 of file HotKey.hh.

Member Typedef Documentation

Definition at line 34 of file HotKey.hh.

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

Definition at line 33 of file HotKey.hh.

Definition at line 35 of file HotKey.hh.

Constructor & Destructor Documentation

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

Member Function Documentation

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

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