Mir
|
#include <input_send_observer.h>
Public Types | |
enum | FailureReason { surface_disappeared, no_response_received, socket_error } |
enum | InputResponse { consumed, not_consumed } |
Public Member Functions | |
InputSendObserver ()=default | |
virtual | ~InputSendObserver ()=default |
virtual void | send_failed (MirEvent const &event, input::Surface *surface, FailureReason reason)=0 |
An attempt to send an input event to a destination failed. More... | |
virtual void | send_suceeded (MirEvent const &event, input::Surface *surface, InputResponse response)=0 |
Client responded to an input event. More... | |
virtual void | client_blocked (MirEvent const &event, input::Surface *client)=0 |
Called when client is temporary blocked because input events are still in the queue. More... | |
Protected Member Functions | |
InputSendObserver & | operator= (InputSendObserver const &)=delete |
InputSendObserver (InputSendObserver const &)=delete | |
|
default |
|
virtualdefault |
|
protecteddelete |
|
pure virtual |
Called when client is temporary blocked because input events are still in the queue.
Implemented in mir::input::NullInputSendObserver.
|
protecteddelete |
|
pure virtual |
An attempt to send an input event to a destination failed.
Reasons for failure could be the surface disappearing from the scene, before the response was received. Or the client not responding in time.
Implemented in mir::input::NullInputSendObserver.
|
pure virtual |
Client responded to an input event.
Implemented in mir::input::NullInputSendObserver.
Copyright © 2012,2013 Canonical Ltd.
Generated on Tue Mar 24 16:15:19 UTC 2015