openMSX
Public Member Functions | Protected Member Functions | List of all members
openmsx::KeyEvent Class Reference

#include <InputEvents.hh>

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

Public Member Functions

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

Protected Member Functions

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

Constructor & Destructor Documentation

◆ KeyEvent()

openmsx::KeyEvent::KeyEvent ( EventType  type,
Keys::KeyCode  keyCode,
uint32_t  unicode 
)
protected

◆ ~KeyEvent()

openmsx::KeyEvent::~KeyEvent ( )
protecteddefault

Member Function Documentation

◆ getKeyCode()

Keys::KeyCode openmsx::KeyEvent::getKeyCode ( ) const
inline

Definition at line 29 of file InputEvents.hh.

Referenced by KeyEvent().

◆ getUnicode()

uint32_t openmsx::KeyEvent::getUnicode ( ) const
inline

Definition at line 30 of file InputEvents.hh.

References openmsx::Event::toTclList().

Referenced by KeyEvent().


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