kanzi::EventSource Class Reference

EventSource class. More...

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

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

Public Member Functions

 EventSource ()
 Constructor. More...
 
virtual ~EventSource ()
 Destructor. More...
 
virtual void gatherEvents (struct KzsEventQueue &queue)
 Fills the given event queue with events received so far. More...
 
virtual optional< NativeEventHandlegetEventHandle ()
 Returns a waitable event handle for this event source, if available. More...
 

Detailed Description

EventSource class.

Base class for event sources.

Constructor & Destructor Documentation

kanzi::EventSource::EventSource ( )
explicit

Constructor.

virtual kanzi::EventSource::~EventSource ( )
virtual

Destructor.

Member Function Documentation

virtual void kanzi::EventSource::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 in kanzi::DefaultEventSource.

virtual optional<NativeEventHandle> kanzi::EventSource::getEventHandle ( )
inlinevirtual

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

Reimplemented in kanzi::DefaultEventSource.


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