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

#include <InputEvents.hh>

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

Public Member Functions

 KeyDownEvent (Keys::KeyCode keyCode_)
 
 KeyDownEvent (Keys::KeyCode keyCode, uint32_t unicode)
 
- Public Member Functions inherited from openmsx::KeyEvent
Keys::KeyCode getKeyCode () const
 
uint32_t getUnicode () const
 
- Public Member Functions inherited from openmsx::TimedEvent
uint64_t getRealTime () const
 Query creation time. More...
 
- Public Member Functions inherited from openmsx::Event
 Event (const Event &)=delete
 
Eventoperator= (const Event &)=delete
 
EventType getType () const
 
std::string toString () const
 Get a string representation of this event. More...
 
bool operator< (const Event &other) const
 
bool operator> (const Event &other) const
 
bool operator<= (const Event &other) const
 
bool operator>= (const Event &other) const
 
bool operator== (const Event &other) const
 
bool operator!= (const Event &other) const
 
virtual bool isRepeatStopper (const Event &) const
 Should 'bind -repeat' be stopped by 'other' event. More...
 
virtual bool matches (const Event &other) const
 Does this event 'match' the given event. More...
 

Additional Inherited Members

- Protected Member Functions inherited from openmsx::KeyEvent
 KeyEvent (EventType type, Keys::KeyCode keyCode, uint32_t unicode)
 
 ~KeyEvent ()=default
 
- Protected Member Functions inherited from openmsx::TimedEvent
 TimedEvent (EventType type)
 
 ~TimedEvent ()=default
 
- Protected Member Functions inherited from openmsx::Event
 Event (EventType type_)
 
 ~Event ()=default
 

Detailed Description

Definition at line 49 of file InputEvents.hh.

Constructor & Destructor Documentation

◆ KeyDownEvent() [1/2]

openmsx::KeyDownEvent::KeyDownEvent ( Keys::KeyCode  keyCode_)
inlineexplicit

Definition at line 52 of file InputEvents.hh.

◆ KeyDownEvent() [2/2]

openmsx::KeyDownEvent::KeyDownEvent ( Keys::KeyCode  keyCode,
uint32_t  unicode 
)
explicit

Definition at line 60 of file InputEvents.cc.


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