Mir
Public Member Functions | List of all members
mir::graphics::nested::InputPlatform Class Reference

#include <input_platform.h>

Inheritance diagram for mir::graphics::nested::InputPlatform:
[legend]

Public Member Functions

 InputPlatform (std::shared_ptr< HostConnection > const &connection, std::shared_ptr< input::InputDeviceRegistry > const &input_device_registry, std::shared_ptr< input::InputReport > const &report)
 
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::graphics::nested::InputPlatform::InputPlatform ( std::shared_ptr< HostConnection > const &  connection,
std::shared_ptr< input::InputDeviceRegistry > const &  input_device_registry,
std::shared_ptr< input::InputReport > const &  report 
)

Member Function Documentation

std::shared_ptr<mir::dispatch::Dispatchable> mir::graphics::nested::InputPlatform::dispatchable ( )
overridevirtual

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

Implements mir::input::Platform.

void mir::graphics::nested::InputPlatform::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::graphics::nested::InputPlatform::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