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

#include <platform.h>

Inheritance diagram for mir::input::evdev::Platform:
[legend]

Public Member Functions

 Platform (std::shared_ptr< InputDeviceRegistry > const &registry, std::shared_ptr< InputReport > const &report, std::unique_ptr< udev::Context > &&udev_context)
 
std::shared_ptr< mir::dispatch::Dispatchabledispatchable () override
 
void start () override
 
void stop () override
 
- Public Member Functions inherited from mir::input::Platform
 Platform ()=default
 
virtual ~Platform ()=default
 

Constructor & Destructor Documentation

mir::input::evdev::Platform::Platform ( std::shared_ptr< InputDeviceRegistry > const &  registry,
std::shared_ptr< InputReport > const &  report,
std::unique_ptr< udev::Context > &&  udev_context 
)

Member Function Documentation

std::shared_ptr<mir::dispatch::Dispatchable> mir::input::evdev::Platform::dispatchable ( )
overridevirtual

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

Implements mir::input::Platform.

void mir::input::evdev::Platform::start ( )
overridevirtual

Request the platform to start monitoring for devices.

Parameters
input_device_registryshould be informed about available input devices
trigger_registryshould be used to register event sources that may indicate a changes of the available devices

Implements mir::input::Platform.

void mir::input::evdev::Platform::stop ( )
overridevirtual

Request the platform to stop monitoring for devices.

Implements mir::input::Platform.


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

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