Struct MirEvent

Inheritance Relationships

Derived Types

Struct Documentation

struct MirEvent

Subclassed by MirCloseWindowEvent, MirInputDeviceStateEvent, MirInputEvent, MirOrientationEvent, MirPromptSessionEvent, MirResizeEvent, MirWindowEvent, MirWindowOutputEvent, MirWindowPlacementEvent

Public Functions

virtual auto clone() const -> MirEvent* = 0
virtual ~MirEvent() = default
MirEventType type() const
MirInputEvent *to_input()
MirInputEvent const *to_input() const
MirWindowEvent *to_surface()
MirWindowEvent const *to_surface() const
MirResizeEvent *to_resize()
MirResizeEvent const *to_resize() const
MirPromptSessionEvent *to_prompt_session()
MirPromptSessionEvent const *to_prompt_session() const
MirOrientationEvent *to_orientation()
MirOrientationEvent const *to_orientation() const
MirCloseWindowEvent *to_close_window()
MirCloseWindowEvent const *to_close_window() const
MirWindowOutputEvent *to_window_output()
MirWindowOutputEvent const *to_window_output() const
MirInputDeviceStateEvent *to_input_device_state()
MirInputDeviceStateEvent const *to_input_device_state() const
MirWindowPlacementEvent *to_window_placement()
MirWindowPlacementEvent const *to_window_placement() const

Protected Functions

MirEvent(MirEventType type)
MirEvent(MirEvent const &event)