|
| bool | flush () const noexcept |
| | Flushes any pending requests.
|
| |
| KZ_NO_DISCARD optional< size_t > | getDeviceCount () const noexcept |
| | Tries to get the number of input devices associated with the context.
|
| |
| KZ_NO_DISCARD optional< size_t > | getDisplayCount () const noexcept |
| | Tries to get the number of displays associated with the context.
|
| |
| KZ_NO_DISCARD QnxEvent | getNextEvent (int timeOut) const noexcept |
| | Gets a next event from the context.
|
| |
| KZ_NO_DISCARD optional< vector< QnxDisplay::NativeHandleType > > | getQnxDisplayHandles () const noexcept |
| | Tries to get the native display handles associated with the context.
|
| |
| KZ_NO_DISCARD optional< string > | getPropertyCv (size_t stringBufferSize, int propertyName) const noexcept |
| | Gets QNX property consisting of a string.
|
| |
| KZ_NO_DISCARD optional< vector< int > > | getPropertyIv (size_t returnValueCount, int propertyName) const noexcept |
| | Gets QNX property consisting of ints.
|
| |
| KZ_NO_DISCARD optional< int > | getPropertyIvSingle (int propertyName) const noexcept |
| | Gets a QNX property consisting of a single int.
|
| |
| KZ_NO_DISCARD optional< vector< long long > > | getPropertyLlv (size_t returnValueCount, int propertyName) const noexcept |
| | Gets QNX property consisting of long longs.
|
| |
| KZ_NO_DISCARD optional< long long > | getPropertyLlvSingle (int propertyName) const noexcept |
| | Gets a QNX property consisting of a single long long.
|
| |
| KZ_NO_DISCARD optional< vector< T > > | getPropertyPv (size_t returnValueCount, int propertyName) const noexcept |
| | Gets QNX property consisting of pointers.
|
| |
| KZ_NO_DISCARD optional< T > | getPropertyPvSingle (int propertyName) const noexcept |
| | Gets a QNX property consisting of a single pointer.
|
| |
| bool | setPropertyCv (int propertyName, string_view propertyValue) const noexcept |
| | Sets QNX property consisting of a string.
|
| |
| bool | setPropertyIv (int propertyName, int propertyValue) const noexcept |
| | Sets QNX property consisting of a single int.
|
| |
| bool | setPropertyIv (int propertyName, span< int > propertyValue) const noexcept |
| | Sets QNX property consisting of ints.
|
| |
| bool | setPropertyLlv (int propertyName, long long propertyValue) const noexcept |
| | Sets QNX property consisting of a single long long.
|
| |
| bool | setPropertyLlv (int propertyName, span< long long > propertyValue) const noexcept |
| | Sets QNX property consisting of long longs.
|
| |
| bool | setPropertyPv (int propertyName, span< void * > propertyValue) const noexcept |
| | Sets QNX property consisting of pointers.
|
| |
| bool | setPropertyPv (int propertyName, void *propertyValue) const noexcept |
| | Sets QNX property consisting of a single pointer.
|
| |
|
| | QnxContextMethods () noexcept=default |
| | Constructor.
|
| |
| | QnxContextMethods (const NativeHandleType &handle) noexcept |
| | Constructor.
|
| |
| KZ_NO_DISCARD optional< screen_context_t > | createOptional () const noexcept |
| | Creates a kanzi::optional copy of the native handle.
|
| |
| KZ_NO_DISCARD const screen_context_t | get () const noexcept |
| | Provides access to stored handle.
|
| |
| KZ_NO_DISCARD screen_context_t | get () noexcept |
| | Provides access to stored handle.
|
| |
| KZ_NO_DISCARD const screen_context_t | getNativeHandle () const noexcept |
| | Provides access to stored handle.
|
| |
| KZ_NO_DISCARD screen_context_t | getNativeHandle () noexcept |
| | Provides access to stored handle.
|
| |
| KZ_NO_DISCARD bool | hasValue () const noexcept |
| | Checks if a handle is stored.
|
| |
| KZ_NO_DISCARD | operator bool () const noexcept |
| | Conversion operator to bool.
|
| |
| KZ_NO_DISCARD screen_context_t && | operator* () &&noexcept |
| | Provides access to stored handle via rvalue reference.
|
| |
| KZ_NO_DISCARD screen_context_t & | operator* () &noexcept |
| | Provides access to stored handle via reference.
|
| |
| KZ_NO_DISCARD const screen_context_t && | operator* () const &&noexcept |
| | Provides access to stored handle via const rvalue reference.
|
| |
| KZ_NO_DISCARD const screen_context_t & | operator* () const &noexcept |
| | Provides access to stored handle via const reference.
|
| |
| OptionalHandle & | operator= (const OptionalHandle &other)=delete |
| | Copy assignment operator.
|
| |
| OptionalHandle & | operator= (const screen_context_t &value) |
| | Copy assignment operator.
|
| |
| OptionalHandle & | operator= (OptionalHandle &&other) noexcept |
| | Move assignment operator.
|
| |
| OptionalHandle & | operator= (screen_context_t &&value) noexcept |
| | Move assignment operator.
|
| |
| | OptionalHandle () noexcept |
| | Constructor.
|
| |
| | OptionalHandle (const OptionalHandle &other)=delete |
| | Copy constructor.
|
| |
| | OptionalHandle (const screen_context_t &nativeHandle) noexcept |
| | Constructor.
|
| |
| | OptionalHandle (OptionalHandle &&other) noexcept |
| | Move constructor.
|
| |
| screen_context_t | release () noexcept |
| | Releases ownership of a native handle without destroying the resource.
|
| |
| void | reset () noexcept |
| | Replaces stored handle with sentinel value.
|
| |
| void | reset (U &&newHandle) noexcept |
| | Stores a new handle inside.
|
| |
| void | swap (OptionalHandle &other) |
| | Swap function.
|
| |
| KZ_NO_DISCARD optional< screen_context_t > | toOptional () &&noexcept |
| | Converts OptionalHandle to kanzi::optional.
|
| |
| | ~OptionalHandle () |
| | Destructor.
|
| |
| KZ_NO_DISCARD optional< string > | getPropertyCv (size_t stringBufferSize, int propertyName) const noexcept |
| | Gets QNX property consisting of a string.
|
| |
| KZ_NO_DISCARD optional< vector< int > > | getPropertyIv (size_t returnValueCount, int propertyName) const noexcept |
| | Gets QNX property consisting of ints.
|
| |
| KZ_NO_DISCARD optional< int > | getPropertyIvSingle (int propertyName) const noexcept |
| | Gets a QNX property consisting of a single int.
|
| |
| KZ_NO_DISCARD optional< vector< long long > > | getPropertyLlv (size_t returnValueCount, int propertyName) const noexcept |
| | Gets QNX property consisting of long longs.
|
| |
| KZ_NO_DISCARD optional< long long > | getPropertyLlvSingle (int propertyName) const noexcept |
| | Gets a QNX property consisting of a single long long.
|
| |
| KZ_NO_DISCARD optional< vector< T > > | getPropertyPv (size_t returnValueCount, int propertyName) const noexcept |
| | Gets QNX property consisting of pointers.
|
| |
| KZ_NO_DISCARD optional< T > | getPropertyPvSingle (int propertyName) const noexcept |
| | Gets a QNX property consisting of a single pointer.
|
| |
| bool | setPropertyCv (int propertyName, string_view propertyValue) const noexcept |
| | Sets QNX property consisting of a string.
|
| |
| bool | setPropertyIv (int propertyName, int propertyValue) const noexcept |
| | Sets QNX property consisting of a single int.
|
| |
| bool | setPropertyIv (int propertyName, span< int > propertyValue) const noexcept |
| | Sets QNX property consisting of ints.
|
| |
| bool | setPropertyLlv (int propertyName, long long propertyValue) const noexcept |
| | Sets QNX property consisting of a single long long.
|
| |
| bool | setPropertyLlv (int propertyName, span< long long > propertyValue) const noexcept |
| | Sets QNX property consisting of long longs.
|
| |
| bool | setPropertyPv (int propertyName, span< void * > propertyValue) const noexcept |
| | Sets QNX property consisting of pointers.
|
| |
| bool | setPropertyPv (int propertyName, void *propertyValue) const noexcept |
| | Sets QNX property consisting of a single pointer.
|
| |
Class representing QNX context methods.
- Note
- Do not use this class directly. Use QnxContext instead.
- See also
- QnxContext
- Since
- Kanzi 4.0.0 changed to use QnxPropertyHost interface.
-
Kanzi 4.0.0 inherits from OptionalHandle.
-
Kanzi 4.0.0 QnxContext is now a safe wrapper around QnxContextMethods.