#include <kanzi/core.ui/input/default_event_source.hpp>
Public Member Functions | |
DefaultEventSource (struct KzsDesktop *desktop, const EventSourceProperties &properties) | |
Constructor. More... | |
virtual | ~DefaultEventSource () |
Destructor. More... | |
virtual void | gatherEvents (struct KzsEventQueue &queue) KZ_OVERRIDE |
Fills the given event queue with events received so far. More... | |
virtual optional< NativeEventHandle > | getEventHandle () KZ_OVERRIDE |
Returns a waitable event handle for this event source, if available. More... | |
Public Member Functions inherited from kanzi::EventSource | |
EventSource () | |
Constructor. More... | |
virtual | ~EventSource () |
Destructor. More... | |
Protected Attributes | |
struct KzsInputDevice * | m_device |
Actual input device. More... | |
EventFilter | m_eventFilter |
Filter for input events. More... | |
|
explicit |
Constructor.
|
virtual |
Destructor.
|
virtual |
Fills the given event queue with events received so far.
queue | Event queue to be filled. Do not clear or assume to be empty. |
Reimplemented from kanzi::EventSource.
|
virtual |
Returns a waitable event handle for this event source, if available.
Reimplemented from kanzi::EventSource.
|
protected |
Actual input device.
|
protected |
Filter for input events.