Class representing Qnx communication channel ID.
More...
#include <kanzi/core.ui/platform/input_ng/qnx_screen/qnx_screen_channel_id.hpp>
Class representing Qnx communication channel ID.
◆ QnxChannelID() [1/2]
Constructor.
- Parameters
-
channelFlags | The channel flags to use. |
◆ QnxChannelID() [2/2]
kanzi::qnx::QnxChannelID::QnxChannelID |
( |
int |
channelHandle | ) |
|
|
explicit |
Constructor.
- Parameters
-
channelHandle | Qnx channel handle. |
- Precondition
- channelHandle must be a valid channel handle.
◆ ~QnxChannelID()
kanzi::qnx::QnxChannelID::~QnxChannelID |
( |
| ) |
|
◆ tryReceivePulse()
KZ_NO_DISCARD optional<struct _pulse> kanzi::qnx::QnxChannelID::tryReceivePulse |
( |
| ) |
|
|
noexcept |
Try to receive a Qnx pulse from the channel.
- Return values
-
nullopt | No pulse received. |
- Returns
- The Qnx pulse.
◆ getNativeHandle()
KZ_NO_DISCARD int kanzi::qnx::QnxChannelID::getNativeHandle |
( |
| ) |
const |
|
noexcept |
Gets Qnx channel ID handle.
- Returns
- The Qnx channel ID handle.
The documentation for this class was generated from the following file: