Kanzi 3.9.10
kanzi::LegacyEventSource Class Reference

LegacyEventSource class. More...

#include <kanzi/core.ui/platform/input/legacy/legacy_event_source.hpp>

Inheritance diagram for kanzi::LegacyEventSource:
[legend]

Public Member Functions

void gatherEvents (EventQueue &queue) override
 EventSource::gatherEvents() implementation.
 
optional< NativeEventHandlegetNativeEventHandle () const noexcept override
 EventSource::getNativeEventHandle() implementation.
 
 LegacyEventSource (NativeInputHandle handle, const EventSourceProperties &properties)
 Constructor.
 
 ~LegacyEventSource () override
 Destructor.
 
- Public Member Functions inherited from kanzi::EventSource
virtual ~EventSource ()=default
 Destructor.
 

Protected Attributes

struct KzsInputDevicem_device
 Actual input device.
 
EventFilter m_eventFilter
 Filter for input events.
 

Detailed Description

LegacyEventSource class.

Provides basic input event functionality for LegacyGraphicsOutput.

Constructor & Destructor Documentation

◆ LegacyEventSource()

kanzi::LegacyEventSource::LegacyEventSource ( NativeInputHandle handle,
const EventSourceProperties & properties )
explicit

Constructor.

◆ ~LegacyEventSource()

kanzi::LegacyEventSource::~LegacyEventSource ( )
override

Destructor.

Member Function Documentation

◆ gatherEvents()

void kanzi::LegacyEventSource::gatherEvents ( EventQueue & queue)
overridevirtual

EventSource::gatherEvents() implementation.

Implements kanzi::EventSource.

◆ getNativeEventHandle()

optional< NativeEventHandle > kanzi::LegacyEventSource::getNativeEventHandle ( ) const
overridevirtualnoexcept

Member Data Documentation

◆ m_device

struct KzsInputDevice* kanzi::LegacyEventSource::m_device
protected

Actual input device.

◆ m_eventFilter

EventFilter kanzi::LegacyEventSource::m_eventFilter
protected

Filter for input events.


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