Class representing Qnx connection ID.
More...
#include <kanzi/core.ui/platform/input_ng/qnx_screen/qnx_screen_connection_id.hpp>
Class representing Qnx connection ID.
◆ QnxConnectionID() [1/2]
kanzi::qnx::QnxConnectionID::QnxConnectionID |
( |
const QnxChannelID & |
channelId, |
|
|
int |
node, |
|
|
int |
pid, |
|
|
int |
flags |
|
) |
| |
|
explicit |
Constructor.
- Parameters
-
channelId | The channel ID to attach to. |
node | Node descriptor to use. |
pid | Process ID for the connection. |
flags | Connection flags for the connection. |
◆ QnxConnectionID() [2/2]
kanzi::qnx::QnxConnectionID::QnxConnectionID |
( |
int |
connectionHandle | ) |
|
|
explicit |
Constructor.
- Parameters
-
connectionHandle | Qnx connection handle. |
- Precondition
- connectionHandle must be a valid connection handle.
◆ ~QnxConnectionID()
kanzi::qnx::QnxConnectionID::~QnxConnectionID |
( |
| ) |
|
◆ sendPulse()
bool kanzi::qnx::QnxConnectionID::sendPulse |
( |
QnxPulseCode |
pulseCode | ) |
|
|
noexcept |
Sends a Qnx pulse code to the connection.
- Return values
-
- Returns
- True on success, false on failure.
◆ getNativeHandle()
KZ_NO_DISCARD int kanzi::qnx::QnxConnectionID::getNativeHandle |
( |
| ) |
const |
|
noexcept |
Gets Qnx connection ID handle.
- Returns
- The Qnx connection ID handle.
The documentation for this class was generated from the following file: