Kanzi 3.9.10
kanzi::qnx::QnxEvent Class Reference

Class representing a QNX event. More...

#include <kanzi/core.ui/platform/windowing_ng/qnx_screen/qnx_screen_event.hpp>

Inheritance diagram for kanzi::qnx::QnxEvent:
[legend]

Public Types

using NativeHandleType
 Alias for underlying native handle type.
 

Public Member Functions

KZ_NO_DISCARD NativeHandleType getNativeHandle () const noexcept
 Gets underlying native handle.
 
QnxEventoperator= (const QnxEvent &other)=delete
 Copy assignment operator.
 
QnxEventoperator= (QnxEvent &&other) noexcept
 Move assignment operator.
 
 QnxEvent () noexcept
 Constructor.
 
 QnxEvent (const NativeHandleType nativeHandle) noexcept
 Constructor.
 
 QnxEvent (const QnxEvent &other)=delete
 Copy constructor.
 
 QnxEvent (QnxEvent &&other) noexcept
 Move constructor.
 
void swap (QnxEvent &other) noexcept
 Swap function.
 
 ~QnxEvent ()
 Destructor.
 
- Public Member Functions inherited from kanzi::qnx::QnxPropertyHost< QnxEvent >
KZ_NO_DISCARD optional< string > tryGetPropertyCv (size_t stringBufferSize, int propertyName) const noexcept
 Gets QNX property consisting of a string.
 
KZ_NO_DISCARD optional< vector< int > > tryGetPropertyIv (size_t returnValueCount, int propertyName) const noexcept
 Gets QNX property consisting of ints.
 
KZ_NO_DISCARD optional< int > tryGetPropertyIvSingle (int propertyName) const noexcept
 Gets a QNX property consisting of a single int.
 
KZ_NO_DISCARD optional< vector< long long > > tryGetPropertyLlv (size_t returnValueCount, int propertyName) const noexcept
 Gets QNX property consisting of long longs.
 
KZ_NO_DISCARD optional< long long > tryGetPropertyLlvSingle (int propertyName) const noexcept
 Gets a QNX property consisting of a single long long.
 
KZ_NO_DISCARD optional< vector< T > > tryGetPropertyPv (size_t returnValueCount, int propertyName) const noexcept
 Gets QNX property consisting of pointers.
 
KZ_NO_DISCARD optional< T > tryGetPropertyPvSingle (int propertyName) const noexcept
 Gets a QNX property consisting of a single pointer.
 
bool trySetPropertyCv (int propertyName, string_view propertyValue) noexcept
 Sets QNX property consisting of a string.
 
bool trySetPropertyIv (int propertyName, int propertyValue) noexcept
 Sets QNX property consisting of a single int.
 
bool trySetPropertyIv (int propertyName, span< int > propertyValue) noexcept
 Sets QNX property consisting of ints.
 
bool trySetPropertyLlv (int propertyName, long long propertyValue) noexcept
 Sets QNX property consisting of a single long long.
 
bool trySetPropertyLlv (int propertyName, span< long long > propertyValue) noexcept
 Sets QNX property consisting of long longs.
 
bool trySetPropertyPv (int propertyName, span< void * > propertyValue) noexcept
 Sets QNX property consisting of pointers.
 
bool trySetPropertyPv (int propertyName, void *propertyValue) noexcept
 Sets QNX property consisting of a single pointer.
 

Static Public Member Functions

static KZ_NO_DISCARD constexpr QnxPropertyFunctions< NativeHandleTypegetQnxPropertyFunctions () noexcept
 Creates QNX property functions for this resource.
 
static KZ_NO_DISCARD QnxEvent tryCreate () noexcept
 Tries to create an empty event.
 

Detailed Description

Class representing a QNX event.

Since
Kanzi 3.9.10 changed to use QnxPropertyHost interface.

Member Typedef Documentation

◆ NativeHandleType

Alias for underlying native handle type.

Since
Kanzi 3.9.10

Constructor & Destructor Documentation

◆ QnxEvent() [1/4]

kanzi::qnx::QnxEvent::QnxEvent ( )
explicitnoexcept

Constructor.

Since
Kanzi 3.9.10 marked as noexcept.

◆ QnxEvent() [2/4]

kanzi::qnx::QnxEvent::QnxEvent ( const NativeHandleType nativeHandle)
explicitnoexcept

Constructor.

Parameters
nativeHandleNative handle.
Since
Kanzi 3.9.10 marked as noexcept.

◆ ~QnxEvent()

kanzi::qnx::QnxEvent::~QnxEvent ( )

Destructor.

◆ QnxEvent() [3/4]

kanzi::qnx::QnxEvent::QnxEvent ( const QnxEvent & other)
delete

Copy constructor.

◆ QnxEvent() [4/4]

kanzi::qnx::QnxEvent::QnxEvent ( QnxEvent && other)
noexcept

Move constructor.

Member Function Documentation

◆ tryCreate()

static KZ_NO_DISCARD QnxEvent kanzi::qnx::QnxEvent::tryCreate ( )
staticnoexcept

Tries to create an empty event.

Returns
The created object. If error occurred, empty.
Since
Kanzi 3.9.10

◆ operator=() [1/2]

QnxEvent & kanzi::qnx::QnxEvent::operator= ( const QnxEvent & other)
delete

Copy assignment operator.

◆ operator=() [2/2]

QnxEvent & kanzi::qnx::QnxEvent::operator= ( QnxEvent && other)
noexcept

Move assignment operator.

◆ swap()

void kanzi::qnx::QnxEvent::swap ( QnxEvent & other)
noexcept

Swap function.

Parameters
otherThe object with which to swap.
Since
Kanzi 3.9.10

◆ getNativeHandle()

KZ_NO_DISCARD NativeHandleType kanzi::qnx::QnxEvent::getNativeHandle ( ) const
noexcept

Gets underlying native handle.

Returns
Native handle.

◆ getQnxPropertyFunctions()

static KZ_NO_DISCARD constexpr QnxPropertyFunctions< NativeHandleType > kanzi::qnx::QnxEvent::getQnxPropertyFunctions ( )
inlinestaticconstexprnoexcept

Creates QNX property functions for this resource.

Returns
The QnxPropertyFunctions struct for this resource.
Since
Kanzi 3.9.10

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