Kanzi  3.9.4
Kanzi Engine API
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. More...
 
optional< NativeEventHandlegetNativeEventHandle () const noexcept override
 EventSource::getNativeEventHandle() implementation. More...
 
 LegacyEventSource (NativeInputHandle handle, const EventSourceProperties &properties)
 Constructor. More...
 
 ~LegacyEventSource () override
 Destructor. More...
 
- Public Member Functions inherited from kanzi::EventSource
virtual ~EventSource ()=default
 Destructor. More...
 

Protected Attributes

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

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: