Classes | |
class | DefaultQnxEGLGraphicsOutput |
Class representing a default QNX EGL graphics output. More... | |
struct | DefaultQnxEGLGraphicsOutputProperties |
The structure that represents the default QNX EGL graphics output properties. More... | |
struct | DefaultQnxInputEventContext |
Structure representing the default context for an async input event. More... | |
class | DefaultQnxPulseHandler |
class | QnxBuffer |
Class representing a QNX buffer. More... | |
class | QnxChannelID |
Class representing QNX communication channel ID. More... | |
class | QnxConnectionID |
Class representing QNX connection ID. More... | |
class | QnxContext |
Class representing a QNX context. More... | |
class | QnxDisplay |
Class representing a QNX display. More... | |
class | QnxEGLPBufferGraphicsOutput |
Class representing a QNX EGL pixel buffer graphics output. More... | |
struct | QnxEGLPBufferGraphicsOutputProperties |
Properties required to construct a QnxEGLPBufferGraphicsOutput. More... | |
class | QnxEGLWindow |
Class representing a QNX EGL window. More... | |
class | QnxEvent |
Class representing a QNX event. More... | |
class | QnxPixmap |
Class representing a QNX pixmap. More... | |
struct | QnxPropertyFunctions |
Contains functions to access QNX properties for a particular QNX handle type. More... | |
class | QnxPropertyHost |
An interface to access and set QNX properties. More... | |
class | QnxSigEvent |
Class representing QNX sig event. More... | |
class | QnxStream |
Class representing a QNX stream. More... | |
class | QnxStreamEGLGraphicsOutput |
Class representing a EGL graphics output that renders into a QNX stream. More... | |
struct | QnxStreamEGLGraphicsOutputProperties |
The structure that represents the QNX Stream EGL graphics output properties. More... | |
class | QnxWindow |
Class representing a QNX window. More... | |
Enumerations | |
enum class | QnxBufferCleanupStrategy { CreateDestroy , AcquireRelease , None } |
Enumerator that represents QNX buffer resource management strategy. More... | |
enum class | QnxPulseCode : int { Disconnect , Input } |
QNX pulse codes. More... | |
Functions | |
bool | bringToFront (QnxWindow &window) noexcept |
Brings the window to forefront. | |
template<typename T , typename... Args> | |
auto | haltIfEmpty (T &&resource, Args &&... args) noexcept |
Forwards a supplied QNX resource. | |
template<typename T > | |
bool | isEmpty (const T &resource) noexcept |
Checks whether QNX resource contains an invalid handle. | |
bool | isKeyReleased (int keyFlags) noexcept |
Tests if key is released for a keyboard event. | |
KZ_NO_DISCARD kanzi::KeyModifier | qnxKeyModifiersToLogicalKeyModifiers (unsigned int qnxKeyModifiers) noexcept |
Maps native QNX key modifiers to Kanzi logical key modifiers. | |
KZ_NO_DISCARD kanzi::LogicalKey | qnxKeyToLogicalKey (unsigned int qnxKey) noexcept |
Maps native QNX key to Kanzi logical key. | |
bool | setWindowPipelineID (QnxWindow &window, int id) noexcept |
Sets pipeline ID for given window. | |
bool | setWindowTitle (QnxWindow &window, string_view windowTitle) noexcept |
Sets a window title. | |
KZ_NO_DISCARD PointerButton | translateQnxPointerButtonsToKanzi (int qnxPointerButtons) noexcept |
Translates QNX pointer buttons to Kanzi pointer buttons. | |
KZ_NO_DISCARD optional< int > | tryGetButtonsProperty (const QnxEvent &qnxEvent) noexcept |
Tries to get the buttons property (SCREEN_PROPERTY_BUTTONS) of the QNX event. | |
KZ_NO_DISCARD optional< int > | tryGetEventType (const QnxEvent &qnxEvent) noexcept |
Tries to get the type (SCREEN_PROPERTY_TYPE) of the QNX event. | |
KZ_NO_DISCARD optional< int > | tryGetFlagsProperty (const QnxEvent &qnxEvent) noexcept |
Tries to get the key flags property (SCREEN_PROPERTY_FLAGS for QNX version 700 and above or SCREEN_PROPERTY_KEY_FLAGS for below) of the QNX event. | |
KZ_NO_DISCARD optional< int > | tryGetKeySymProperty (const QnxEvent &qnxEvent) noexcept |
Tries to get the key sym property (SCREEN_PROPERTY_SYM for QNX version 700 and above or SCREEN_PROPERTY_KEY_SYM for below) of the QNX event. | |
KZ_NO_DISCARD optional< int > | tryGetModifiersProperty (const QnxEvent &qnxEvent) noexcept |
Tries to get the modifiers property (SCREEN_PROPERTY_MODIFIERS for QNX version 700 and above or SCREEN_PROPERTY_KEY_MODIFIERS for below) of the QNX event. | |
KZ_NO_DISCARD optional< windowing::Position > | tryGetPositionProperty (const QnxEvent &qnxEvent) noexcept |
Tries to get the position property (SCREEN_PROPERTY_POSITION) of the QNX event. | |
KZ_NO_DISCARD int | tryGetScreenUsageFlags (const EGLDisplay &eglDisplay, const EGLConfig &eglConfig) noexcept |
Queries the screen usage flags for the given display and EGL config. | |
KZ_NO_DISCARD optional< windowing::SizeU > | tryGetWindowSizeU (const QnxWindow &window) noexcept |
Tries to get the size for this window in unsigned format. | |
KZ_NO_DISCARD optional< string > | tryGetWindowTitle (const QnxWindow &window) noexcept |
Tries to get the window title. | |
Variables | |
constexpr int | QnxMouseButtonsBitMask |
Bitmask for QNX mouse button events. | |
|
strong |
Enumerator that represents QNX buffer resource management strategy.
Enumerator | |
---|---|
CreateDestroy | Used for creating and destroying buffers manually. |
AcquireRelease | Used for managing buffers provided by QnxStream for stream consumer. |
None | Used for buffers that are managed elsewhere. |
|
noexcept |
Queries the screen usage flags for the given display and EGL config.
eglDisplay | The EGL display to use. |
eglConfig | The EGL config to use. |
|
noexcept |
Maps native QNX key to Kanzi logical key.
qnxKey | The QNX key to map. |
|
noexcept |
Maps native QNX key modifiers to Kanzi logical key modifiers.
qnxKeyModifiers | The QNX key modifiers to map. |
|
noexcept |
Translates QNX pointer buttons to Kanzi pointer buttons.
qnxPointerButtons | QNX pointer buttons to translate. |
Checks whether QNX resource contains an invalid handle.
T | QNX resource type to check. |
resource | Resource to check. |
Forwards a supplied QNX resource.
If the resource is empty, calls kzHaltWithMessage.
T | Resource type. |
Args | Arguments to forward to kzHaltWithMessage. |
resource | QNX resource type. |
args | Arguments to forward to kzHaltWithMessage. |
|
noexcept |
Tries to get the type (SCREEN_PROPERTY_TYPE) of the QNX event.
qnxEvent | QNX event to get the type of. |
nullopt | Trying to get the type of the QNX event has failed. |
|
noexcept |
Tries to get the key sym property (SCREEN_PROPERTY_SYM for QNX version 700 and above or SCREEN_PROPERTY_KEY_SYM for below) of the QNX event.
qnxEvent | QNX event to get the sym property of. |
nullopt | Trying to get the key sym property has failed. |
|
noexcept |
Tries to get the modifiers property (SCREEN_PROPERTY_MODIFIERS for QNX version 700 and above or SCREEN_PROPERTY_KEY_MODIFIERS for below) of the QNX event.
qnxEvent | QNX event to get the modifiers property of. |
nullopt | Trying to get the modifiers property has failed. |
|
noexcept |
Tries to get the key flags property (SCREEN_PROPERTY_FLAGS for QNX version 700 and above or SCREEN_PROPERTY_KEY_FLAGS for below) of the QNX event.
qnxEvent | QNX event to get the flags property of. |
nullopt | Trying to get the key flags property has failed. |
|
noexcept |
Tries to get the buttons property (SCREEN_PROPERTY_BUTTONS) of the QNX event.
qnxEvent | QNX event to get the buttons property of. |
nullopt | Trying to get the buttons property has failed. |
|
noexcept |
Tries to get the position property (SCREEN_PROPERTY_POSITION) of the QNX event.
qnxEvent | QNX event to get the position property of. |
nullopt | Trying to get the position property has failed. |
Tests if key is released for a keyboard event.
keyFlags | Screen property flags. |
|
noexcept |
Tries to get the size for this window in unsigned format.
window | Window to get the size for. |
nullopt | Getting the size failed. |
Sets a window title.
window | Window to set the title for. |
windowTitle | Window title to set. |
|
noexcept |
Tries to get the window title.
window | Window to get the title from. |
nullopt | Getting the title failed. |
Brings the window to forefront.
window | Window to bring to front. |
Sets pipeline ID for given window.
Sets also SCREEN_USAGE_OVERLAY usage flag.
window | Reference to the window object. |
id | Value for pipeline ID. |