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

#include <HotKey.hh>

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

Classes

struct  HotKeyInfo
 

Public Types

typedef std::shared_ptr< const
Event
EventPtr
 
typedef std::map< EventPtr,
HotKeyInfo, LessDeref
BindMap
 
typedef std::set< EventPtr,
LessDeref
KeySet
 

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::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...
 

Friends

class BindCmd
 
class UnbindCmd
 
class ActivateCmd
 
class DeactivateCmd
 

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 26 of file HotKey.hh.

Member Typedef Documentation

Definition at line 37 of file HotKey.hh.

typedef std::shared_ptr<const Event> openmsx::HotKey::EventPtr

Definition at line 36 of file HotKey.hh.

Definition at line 38 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

Friends And Related Function Documentation

friend class ActivateCmd
friend

Definition at line 78 of file HotKey.hh.

friend class BindCmd
friend

Definition at line 76 of file HotKey.hh.

friend class DeactivateCmd
friend

Definition at line 79 of file HotKey.hh.

friend class UnbindCmd
friend

Definition at line 77 of file HotKey.hh.


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