Kanzi 4.0.0-beta2
kanzi::qnx::DefaultQnxInputEventThread Class Reference

Structure representing the default QNX input event thread. More...

#include <kanzi/platform/platform/input_ng/qnx_screen/qnx_screen_default_input_event_thread.hpp>

Public Member Functions

 DefaultQnxInputEventThread (QnxContext &qnxContext) noexcept
 Constructor.
 
void gatherEvents (QnxContext &qnxContext, EventQueue &queue)
 Amends the given event queue with events received so far.
 
KZ_NO_DISCARD optional< NativeEventHandlegetNativeEventHandle () const noexcept
 Returns a waitable event handle for this input event thread, if available.
 
void join (QnxContext &qnxContext)
 Blocks the current thread until the input event thread finishes its execution.
 

Detailed Description

Structure representing the default QNX input event thread.

Since
Kanzi 4.0.0

Constructor & Destructor Documentation

◆ DefaultQnxInputEventThread()

kanzi::qnx::DefaultQnxInputEventThread::DefaultQnxInputEventThread ( QnxContext & qnxContext)
explicitnoexcept

Constructor.

Parameters
qnxContextAssociated QNX context.

Member Function Documentation

◆ gatherEvents()

void kanzi::qnx::DefaultQnxInputEventThread::gatherEvents ( QnxContext & qnxContext,
EventQueue & queue )

Amends the given event queue with events received so far.

Parameters
qnxContextAssociated QNX context.
queueEvent queue to be amended.

◆ getNativeEventHandle()

KZ_NO_DISCARD optional< NativeEventHandle > kanzi::qnx::DefaultQnxInputEventThread::getNativeEventHandle ( ) const
noexcept

Returns a waitable event handle for this input event thread, if available.

Returns
The native event handle, or nullopt if not available.

◆ join()

void kanzi::qnx::DefaultQnxInputEventThread::join ( QnxContext & qnxContext)

Blocks the current thread until the input event thread finishes its execution.

Parameters
qnxContextAssociated QNX context.

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