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::vector< HotKeyInfo >
using KeySet = std::vector< EventPtr >

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) noexcept=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 ()=default
 ~EventListener ()=default

Detailed Description

Definition at line 21 of file HotKey.hh.

Member Typedef Documentation

◆ BindMap

using openmsx::HotKey::BindMap = std::vector<HotKeyInfo>

Definition at line 36 of file HotKey.hh.

◆ EventPtr

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

Definition at line 24 of file HotKey.hh.

◆ KeySet

using openmsx::HotKey::KeySet = std::vector<EventPtr>

Definition at line 37 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: