89 [[nodiscard]] std::string
toString()
const;
112 return *
this == other;
120 [[nodiscard]]
virtual bool lessImpl(
const Event& other)
const = 0;
131 [[nodiscard]]
bool lessImpl(
const Event& other)
const override;
bool operator<(const Event &other) const
bool operator<=(const Event &other) const
std::string toString() const
Get a string representation of this event.
virtual bool isRepeatStopper(const Event &) const
Should 'bind -repeat' be stopped by 'other' event.
bool operator==(const Event &other) const
EventType getType() const
bool operator!=(const Event &other) const
Event(const Event &)=delete
bool operator>=(const Event &other) const
virtual TclObject toTclList() const =0
Similar to toString(), but retains the structure of the event.
virtual bool matches(const Event &other) const
Does this event 'match' the given event.
bool operator>(const Event &other) const
Event & operator=(const Event &)=delete
TclObject toTclList() const override
Similar to toString(), but retains the structure of the event.
bool lessImpl(const Event &other) const override
SimpleEvent(EventType type_)
This file implemented 3 utility functions:
@ OPENMSX_FRAME_DRAWN_EVENT
Sent when a OPENMSX_FINISH_FRAME_EVENT caused a redraw of the screen.
@ OPENMSX_MIDI_IN_READER_EVENT
@ OPENMSX_OSD_CONTROL_PRESS_EVENT
@ OPENMSX_MOUSE_BUTTON_DOWN_EVENT
@ OPENMSX_MOUSE_BUTTON_UP_EVENT
@ OPENMSX_SWITCH_RENDERER_EVENT
@ OPENMSX_OSD_CONTROL_RELEASE_EVENT
@ OPENMSX_CLICOMMAND_EVENT
Command received on CliComm connection.
@ OPENMSX_JOY_HAT_GROUP_EVENT
@ OPENMSX_JOY_AXIS_MOTION_GROUP_EVENT
@ OPENMSX_FILEDROP_GROUP_EVENT
@ OPENMSX_JOY_BUTTON_GROUP_EVENT
@ OPENMSX_FINISH_FRAME_EVENT
Sent when VDP (V99x8 or V9990) reaches the end of a frame.
@ OPENMSX_EXPOSE_EVENT
Send when (part of) the openMSX window gets exposed, and thus should be repainted.
@ OPENMSX_MOUSE_WHEEL_EVENT
@ OPENMSX_MACHINE_DEACTIVATED
@ OPENMSX_MOUSE_MOTION_EVENT
@ OPENMSX_MOUSE_WHEEL_GROUP_EVENT
@ OPENMSX_AFTER_TIMED_EVENT
Send when an after-emutime command should be executed.
@ OPENMSX_MACHINE_ACTIVATED
Send when a machine is (de)activated.
@ OPENMSX_KEY_GROUP_EVENT
@ OPENMSX_RS232_TESTER_EVENT
@ OPENMSX_MIDI_IN_COREMIDI_VIRTUAL_EVENT
@ OPENMSX_JOY_BUTTON_UP_EVENT
@ OPENMSX_JOY_BUTTON_DOWN_EVENT
@ OPENMSX_TAKE_REVERSE_SNAPSHOT
Used to schedule 'taking reverse snapshots' between Z80 instructions.
@ OPENMSX_MOUSE_BUTTON_GROUP_EVENT
@ OPENMSX_MIDI_IN_WINDOWS_EVENT
@ OPENMSX_MOUSE_MOTION_GROUP_EVENT
@ OPENMSX_MIDI_IN_COREMIDI_EVENT
@ OPENMSX_JOY_AXIS_MOTION_EVENT
@ OPENMSX_MACHINE_LOADED_EVENT
Send when a (new) machine configuration is loaded.