Mir
Public Member Functions | Public Attributes | List of all members
mir::input::X::XInputDevice Class Reference

#include <input_device.h>

Inheritance diagram for mir::input::X::XInputDevice:
[legend]

Public Member Functions

 XInputDevice (InputDeviceInfo const &info)
 
std::shared_ptr< dispatch::Dispatchabledispatchable ()
 
void start (InputSink *destination, EventBuilder *builder) override
 
void stop () override
 
InputDeviceInfo get_device_info () override
 
- Public Member Functions inherited from mir::input::InputDevice
 InputDevice ()=default
 
virtual ~InputDevice ()=default
 

Public Attributes

InputSinksink {nullptr}
 
EventBuilderbuilder {nullptr}
 

Additional Inherited Members

- Protected Member Functions inherited from mir::input::InputDevice
 InputDevice (InputDevice const &)=delete
 
InputDeviceoperator= (InputDevice const &)=delete
 

Constructor & Destructor Documentation

mir::input::X::XInputDevice::XInputDevice ( InputDeviceInfo const &  info)

Member Function Documentation

std::shared_ptr<dispatch::Dispatchable> mir::input::X::XInputDevice::dispatchable ( )
InputDeviceInfo mir::input::X::XInputDevice::get_device_info ( )
overridevirtual
void mir::input::X::XInputDevice::start ( InputSink destination,
EventBuilder builder 
)
overridevirtual

Allow the input device to provide its input events to the given InputSink

Implements mir::input::InputDevice.

void mir::input::X::XInputDevice::stop ( )
overridevirtual

Stop the input device from sending input events, to the InputSink.

Implements mir::input::InputDevice.

Member Data Documentation

EventBuilder* mir::input::X::XInputDevice::builder {nullptr}
InputSink* mir::input::X::XInputDevice::sink {nullptr}

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

Copyright © 2012-2015 Canonical Ltd.
Generated on Thu Oct 8 16:20:16 UTC 2015