Kanzi  3.9.7
Kanzi Engine API
kanzi::qnx::QnxSigEvent Class Reference

Class representing Qnx sig event. More...

#include <kanzi/core.ui/platform/input_ng/qnx_screen/qnx_screen_sigevent.hpp>

Public Member Functions

KZ_NO_DISCARD sigevent getNativeHandle () const noexcept
 Gets Qnx sig event handle. More...
 
void noneInit () noexcept
 Deinitializes the sig event. More...
 
bool notifyAsyncInput (QnxContext &context) noexcept
 Notifies the screen for new async input event. More...
 
 QnxSigEvent (const QnxConnectionID &connectionId, QnxPulseCode pulseCode, int value)
 Constructor. More...
 
 QnxSigEvent (struct sigevent sigEventHandle)
 Constructor. More...
 

Detailed Description

Class representing Qnx sig event.

Constructor & Destructor Documentation

kanzi::qnx::QnxSigEvent::QnxSigEvent ( const QnxConnectionID connectionId,
QnxPulseCode  pulseCode,
int  value 
)
explicit

Constructor.

Parameters
connectionIdThe connection ID to initialize the event for.
pulseCodeQnx pulse code to use.
valueValue to initialize the code with.
kanzi::qnx::QnxSigEvent::QnxSigEvent ( struct sigevent  sigEventHandle)
explicit

Constructor.

Parameters
sigEventHandleSignal event handle.
Precondition
sigEventHandle must be a valid signal event handle.

Member Function Documentation

void kanzi::qnx::QnxSigEvent::noneInit ( )
noexcept

Deinitializes the sig event.

bool kanzi::qnx::QnxSigEvent::notifyAsyncInput ( QnxContext context)
noexcept

Notifies the screen for new async input event.

Parameters
contextQnx context to notify the async input for.
Return values
FalseErrno is set.
Returns
True on success, false on failure.
KZ_NO_DISCARD sigevent kanzi::qnx::QnxSigEvent::getNativeHandle ( ) const
noexcept

Gets Qnx sig event handle.

Returns
The Qnx sig event handle.

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