Class representing a Qnx event.
More...
#include <kanzi/core.ui/platform/windowing_ng/qnx_screen/qnx_screen_event.hpp>
Class representing a Qnx event.
◆ QnxEvent() [1/3]
kanzi::qnx::QnxEvent::QnxEvent |
( |
| ) |
|
|
explicit |
Default constructor, creates an empty event.
◆ QnxEvent() [2/3]
Constructor.
- Parameters
-
windowHandle | Qnx event handle. |
- Precondition
- windowHandle must be a valid event handle.
◆ ~QnxEvent()
kanzi::qnx::QnxEvent::~QnxEvent |
( |
| ) |
|
◆ QnxEvent() [3/3]
kanzi::qnx::QnxEvent::QnxEvent |
( |
QnxEvent && |
qnxEvent | ) |
|
|
noexcept |
◆ operator=()
◆ tryGetEventProperty()
template<typename T >
KZ_NO_DISCARD optional<T> kanzi::qnx::QnxEvent::tryGetEventProperty |
( |
int |
propertyName | ) |
const |
|
noexcept |
Tries to get a property value for a generic property.
Make sure the property value fits into the type of T.
- Parameters
-
propertyName | The name of the property to query for. |
- See also
- Use the non-member functions to access property values a in type safe manner.
- Return values
-
nullopt | Trying to get the value for the property name has failed. |
- Returns
- Event property value.
◆ getNativeHandle()
Gets Qnx event handle.
- Returns
- Qnx event handle.
The documentation for this class was generated from the following file: