Class representing QNX sig event.
More...
#include <kanzi/platform/platform/input_ng/qnx_screen/qnx_screen_sigevent.hpp>
Class representing QNX sig event.
- Attention
- This feature is experimental and is likely to change in future releases.
◆ QnxSigEvent() [1/2]
Constructor.
- Parameters
-
| connectionId | The connection ID to initialize the event for. |
| pulseCode | QNX pulse code to use. |
| value | Value to initialize the code with. |
◆ QnxSigEvent() [2/2]
| kanzi::qnx::QnxSigEvent::QnxSigEvent |
( |
struct sigevent | sigEventHandle | ) |
|
|
explicit |
Constructor.
- Parameters
-
| sigEventHandle | Signal event handle. |
- Precondition
- sigEventHandle must be a valid signal event handle.
◆ noneInit()
| void kanzi::qnx::QnxSigEvent::noneInit |
( |
| ) |
|
|
noexcept |
Deinitializes the sig event.
◆ notifyAsyncInput()
| bool kanzi::qnx::QnxSigEvent::notifyAsyncInput |
( |
QnxContext & | context | ) |
|
|
noexcept |
Notifies the screen for new async input event.
- Parameters
-
| context | QNX context to notify the async input for. |
- Return values
-
- Returns
- True on success, false on failure.
◆ disableAsyncNotifications()
| bool kanzi::qnx::QnxSigEvent::disableAsyncNotifications |
( |
QnxContext & | context | ) |
|
|
noexcept |
Disables asynchronous notifications for all input events.
- Parameters
-
| context | QNX context to disable the async input for. |
- Return values
-
- Returns
- True on success, false on failure.
◆ getNativeHandle()
Gets QNX sig event handle.
- Returns
- The QNX sig event handle.
The documentation for this class was generated from the following file: