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

Input Platform is used to discover and access available input devices. More...

#include <platform.h>

Public Member Functions

 Platform ()=default
 
virtual ~Platform ()=default
 
virtual std::shared_ptr< mir::dispatch::Dispatchabledispatchable ()=0
 
virtual void start ()=0
 
virtual void stop ()=0
 

Detailed Description

Input Platform is used to discover and access available input devices.

A platform implementation is supposed to handle device occurance events by opening new device and registering them at the server's InputDeviceRegistry. Likewise the InputDeviceRegistry shall be informed about removed input devices.

The actual processing of user input is controlled through the mir::input::InputDevice interface.

Constructor & Destructor Documentation

mir::input::Platform::Platform ( )
default
virtual mir::input::Platform::~Platform ( )
virtualdefault

Member Function Documentation

virtual std::shared_ptr<mir::dispatch::Dispatchable> mir::input::Platform::dispatchable ( )
pure virtual

The dispatchable of the platform shall be used to monitor for devices.

virtual void mir::input::Platform::start ( )
pure virtual

Request the platform to start monitoring for devices.

virtual void mir::input::Platform::stop ( )
pure virtual

Request the platform to stop monitoring for devices.


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