Kanzi 3.9.10
kanzi::qnx::QnxConnectionID Class Reference

Class representing QNX connection ID. More...

#include <kanzi/core.ui/platform/input_ng/qnx_screen/qnx_screen_connection_id.hpp>

Public Member Functions

KZ_NO_DISCARD int getNativeHandle () const noexcept
 Gets QNX connection ID handle.
 
 QnxConnectionID (const QnxChannelID &channelId, int node, int pid, int flags)
 Constructor.
 
 QnxConnectionID (int connectionHandle)
 Constructor.
 
bool sendPulse (QnxPulseCode pulseCode) noexcept
 Sends a QNX pulse code to the connection.
 
 ~QnxConnectionID ()
 Destructor.
 

Detailed Description

Class representing QNX connection ID.

Constructor & Destructor Documentation

◆ QnxConnectionID() [1/2]

kanzi::qnx::QnxConnectionID::QnxConnectionID ( const QnxChannelID & channelId,
int node,
int pid,
int flags )
explicit

Constructor.

Parameters
channelIdThe channel ID to attach to.
nodeNode descriptor to use.
pidProcess ID for the connection.
flagsConnection flags for the connection.

◆ QnxConnectionID() [2/2]

kanzi::qnx::QnxConnectionID::QnxConnectionID ( int connectionHandle)
explicit

Constructor.

Parameters
connectionHandleQNX connection handle.
Precondition
connectionHandle must be a valid connection handle.

◆ ~QnxConnectionID()

kanzi::qnx::QnxConnectionID::~QnxConnectionID ( )

Destructor.

Member Function Documentation

◆ sendPulse()

bool kanzi::qnx::QnxConnectionID::sendPulse ( QnxPulseCode pulseCode)
noexcept

Sends a QNX pulse code to the connection.

Return values
FalseErrno is set.
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: