kanzi::DefaultEventSource Class Reference

#include <kanzi/core.ui/input/default_event_source.hpp>

Inheritance diagram for kanzi::DefaultEventSource:
kanzi::EventSource

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< NativeEventHandlegetEventHandle () 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 KzsInputDevicem_device
 Actual input device. More...
 
EventFilter m_eventFilter
 Filter for input events. More...
 

Constructor & Destructor Documentation

kanzi::DefaultEventSource::DefaultEventSource ( struct KzsDesktop desktop,
const EventSourceProperties properties 
)
explicit

Constructor.

virtual kanzi::DefaultEventSource::~DefaultEventSource ( )
virtual

Destructor.

Member Function Documentation

virtual void kanzi::DefaultEventSource::gatherEvents ( struct KzsEventQueue &  queue)
virtual

Fills the given event queue with events received so far.

Parameters
queueEvent queue to be filled. Do not clear or assume to be empty.

Reimplemented from kanzi::EventSource.

virtual optional<NativeEventHandle> kanzi::DefaultEventSource::getEventHandle ( )
virtual

Returns a waitable event handle for this event source, if available.

Reimplemented from kanzi::EventSource.

Member Data Documentation

struct KzsInputDevice* kanzi::DefaultEventSource::m_device
protected

Actual input device.

EventFilter kanzi::DefaultEventSource::m_eventFilter
protected

Filter for input events.


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