Mir
Public Member Functions | Protected Member Functions | List of all members
MirInputEvent Struct Reference

#include <input_event.h>

Inheritance diagram for MirInputEvent:
[legend]

Public Member Functions

MirKeyboardEventto_keyboard ()
 
MirKeyboardEvent const * to_keyboard () const
 
MirMotionEventto_motion ()
 
MirMotionEvent const * to_motion () const
 
- Public Member Functions inherited from MirEvent
MirEventType type () const
 
MirInputEventto_input ()
 
MirInputEvent const * to_input () const
 
MirInputConfigurationEventto_input_configuration ()
 
MirInputConfigurationEvent const * to_input_configuration () const
 
MirSurfaceEventto_surface ()
 
MirSurfaceEvent const * to_surface () const
 
MirResizeEventto_resize ()
 
MirResizeEvent const * to_resize () const
 
MirPromptSessionEventto_prompt_session ()
 
MirPromptSessionEvent const * to_prompt_session () const
 
MirOrientationEventto_orientation ()
 
MirOrientationEvent const * to_orientation () const
 
MirCloseSurfaceEventto_close_surface ()
 
MirCloseSurfaceEvent const * to_close_surface () const
 
MirKeymapEventto_keymap ()
 
MirKeymapEvent const * to_keymap () const
 
MirSurfaceOutputEventto_surface_output ()
 
MirSurfaceOutputEvent const * to_surface_output () const
 
MirInputDeviceStateEventto_input_device_state ()
 
MirInputDeviceStateEvent const * to_input_device_state () const
 
MirEventclone () const
 

Protected Member Functions

 MirInputEvent ()=default
 
 MirInputEvent (MirEventType type)
 
 MirInputEvent (MirInputEvent const &event)=default
 
MirInputEventoperator= (MirInputEvent const &event)=default
 
- Protected Member Functions inherited from MirEvent
 MirEvent ()=default
 
 MirEvent (MirEventType type)
 
 MirEvent (MirEvent const &event)=default
 
MirEventoperator= (MirEvent const &event)=default
 

Additional Inherited Members

- Static Public Member Functions inherited from MirEvent
static mir::EventUPtr deserialize (std::string const &bytes)
 
static std::string serialize (MirEvent const *event)
 
- Protected Attributes inherited from MirEvent
MirEventType type_
 

Detailed Description

Examples:
server_example_input_event_filter.cpp, and server_example_input_filter.cpp.

Constructor & Destructor Documentation

MirInputEvent::MirInputEvent ( )
protecteddefault
MirInputEvent::MirInputEvent ( MirEventType  type)
explicitprotected
MirInputEvent::MirInputEvent ( MirInputEvent const &  event)
protecteddefault

Member Function Documentation

MirInputEvent& MirInputEvent::operator= ( MirInputEvent const &  event)
protecteddefault
MirKeyboardEvent * MirInputEvent::to_keyboard ( )
MirKeyboardEvent const * MirInputEvent::to_keyboard ( ) const
MirMotionEvent * MirInputEvent::to_motion ( )
MirMotionEvent const * MirInputEvent::to_motion ( ) const

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

Copyright © 2012-2015 Canonical Ltd.
Generated on Thu Sep 8 14:50:19 UTC 2016