An interface to access and set QNX properties. More...
#include <kanzi/core.ui/platform/windowing_ng/qnx_screen/qnx_screen_property_host.hpp>
Public Member Functions | |
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. | |
template<typename T > | |
KZ_NO_DISCARD optional< vector< T > > | tryGetPropertyPv (size_t returnValueCount, int propertyName) const noexcept |
Gets QNX property consisting of pointers. | |
template<typename T > | |
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. | |
An interface to access and set QNX properties.
Uses CRTP pattern. It is encouraged to derive from it and pass itself as a template parameter.
Derived | CRTP derived class. |
|
noexcept |
Gets QNX property consisting of ints.
returnValueCount | Number of values to recieve. |
propertyName | QNX property name. |
nullopt | Getting the property failed. |
|
noexcept |
Gets a QNX property consisting of a single int.
propertyName | QNX property name. |
nullopt | Getting the property failed. |
|
noexcept |
Sets QNX property consisting of ints.
propertyName | QNX property name. |
propertyValue | Span of values to set property to. |
|
noexcept |
Sets QNX property consisting of a single int.
propertyName | QNX property name. |
propertyValue | Value to set property to. |
|
noexcept |
Gets QNX property consisting of pointers.
T | Pointer type to receive. |
returnValueCount | Number of values to recieve. |
propertyName | QNX property name. |
nullopt | Getting the property failed. |
|
noexcept |
Gets a QNX property consisting of a single pointer.
T | Pointer type to receive. |
propertyName | QNX property name. |
nullopt | Getting the property failed. |
|
noexcept |
Sets QNX property consisting of pointers.
propertyName | QNX property name. |
propertyValue | Span of values to set property to. |
|
noexcept |
Sets QNX property consisting of a single pointer.
propertyName | QNX property name. |
propertyValue | Value to set property to. |
|
noexcept |
Gets QNX property consisting of a string.
stringBufferSize | Size of the string to receive. |
propertyName | QNX property name. |
nullopt | Getting the property failed. |
|
noexcept |
Sets QNX property consisting of a string.
propertyName | QNX property name. |
propertyValue | Value to set property to. |
|
noexcept |
Gets QNX property consisting of long longs.
returnValueCount | Number of values to recieve. |
propertyName | QNX property name. |
nullopt | Getting the property failed. |
|
noexcept |
Gets a QNX property consisting of a single long long.
propertyName | QNX property name. |
nullopt | Getting the property failed. |
|
noexcept |
Sets QNX property consisting of long longs.
propertyName | QNX property name. |
propertyValue | Span of values to set property to. |
|
noexcept |
Sets QNX property consisting of a single long long.
propertyName | QNX property name. |
propertyValue | Value to set property to. |