Kanzi  3.9.9
Kanzi Engine C++ 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

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

Constructor.

kanzi::LegacyEventSource::~LegacyEventSource ( )
override

Destructor.

Member Function Documentation

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

EventSource::gatherEvents() implementation.

Implements kanzi::EventSource.

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

Member Data Documentation

struct KzsInputDevice* kanzi::LegacyEventSource::m_device
protected

Actual input device.

EventFilter kanzi::LegacyEventSource::m_eventFilter
protected

Filter for input events.


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