|
openMSX
|
#include <Event.hh>


Public Member Functions | |
| virtual | ~Event () |
| EventType | getType () const |
| std::string | toString () 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. | |
| virtual bool | matches (const Event &other) const |
| Does this event 'match' the given event. | |
Protected Member Functions | |
| Event (EventType type) | |
Additional Inherited Members |
| EventType openmsx::Event::getType | ( | ) | const |
Definition at line 17 of file Event.cc.
Referenced by operator<(), and openmsx::SimpleEvent::toStringImpl().
|
inlinevirtual |
Should 'bind -repeat' be stopped by 'other' event.
Normally all events should stop auto-repeat of the previous event. But see OsdControlEvent for some exceptions.
Reimplemented in openmsx::OsdControlEvent.
|
inlinevirtual |
Does this event 'match' the given event.
Normally an event only matches itself (as defined by operator==). But e.g. MouseMotionGroupEvent matches any MouseMotionEvent.
| bool openmsx::Event::operator!= | ( | const Event & | other | ) | const |
| bool openmsx::Event::operator< | ( | const Event & | other | ) | const |
| bool openmsx::Event::operator== | ( | const Event & | other | ) | const |
| std::string openmsx::Event::toString | ( | ) | const |
Definition at line 22 of file Event.cc.
References openmsx::TclObject::getString(), and string_ref::str().
1.8.1.2