Mir
Public Member Functions | List of all members
mir::input::InputDispatcher Class Referenceabstract

The InputDispatchers role is to decide what should happen with user input events. More...

#include <input_dispatcher.h>

Public Member Functions

virtual bool dispatch (MirEvent const &event)=0
 
virtual void start ()=0
 
virtual void stop ()=0
 
virtual ~InputDispatcher ()=default
 

Detailed Description

The InputDispatchers role is to decide what should happen with user input events.

It will receive MirEvents with either MirMotionEvent or MirKeyboardEvent inside. The InputDispatcher implementation shall either handle the input without informing any clients or pick a client surface and send the event to it.

Constructor & Destructor Documentation

virtual mir::input::InputDispatcher::~InputDispatcher ( )
virtualdefault

Member Function Documentation

virtual bool mir::input::InputDispatcher::dispatch ( MirEvent const &  event)
pure virtual
virtual void mir::input::InputDispatcher::start ( )
pure virtual
virtual void mir::input::InputDispatcher::stop ( )
pure virtual

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

Copyright © 2012-2016 Canonical Ltd.
Generated on Fri Dec 20 06:52:43 UTC 2019