EventSource class. More...
#include <kanzi/core.ui/input/event_source.hpp>
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< NativeEventHandle > | getEventHandle () |
Returns a waitable event handle for this event source, if available. More... | |
EventSource class.
Base class for event sources.
|
explicit |
Constructor.
|
virtual |
Destructor.
|
virtual |
Fills the given event queue with events received so far.
queue | Event queue to be filled. Do not clear or assume to be empty. |
Reimplemented in kanzi::DefaultEventSource.
|
inlinevirtual |
Returns a waitable event handle for this event source, if available.
Reimplemented in kanzi::DefaultEventSource.