Kanzi 3.9.10
kanzi::qnx::QnxChannelID Class Reference

Class representing QNX communication channel ID. More...

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

Public Member Functions

KZ_NO_DISCARD int getNativeHandle () const noexcept
 Gets QNX channel ID handle.
 
 QnxChannelID (int channelHandle)
 Constructor.
 
 QnxChannelID (QnxChannelIDFlags channelFlags)
 Constructor.
 
KZ_NO_DISCARD optional< struct _pulsetryReceivePulse () noexcept
 Try to receive a QNX pulse from the channel.
 
 ~QnxChannelID ()
 Destructor.
 

Detailed Description

Class representing QNX communication channel ID.

Constructor & Destructor Documentation

◆ QnxChannelID() [1/2]

kanzi::qnx::QnxChannelID::QnxChannelID ( QnxChannelIDFlags channelFlags)
explicit

Constructor.

Parameters
channelFlagsThe channel flags to use.

◆ QnxChannelID() [2/2]

kanzi::qnx::QnxChannelID::QnxChannelID ( int channelHandle)
explicit

Constructor.

Parameters
channelHandleQNX channel handle.
Precondition
channelHandle must be a valid channel handle.

◆ ~QnxChannelID()

kanzi::qnx::QnxChannelID::~QnxChannelID ( )

Destructor.

Member Function Documentation

◆ tryReceivePulse()

KZ_NO_DISCARD optional< struct _pulse > kanzi::qnx::QnxChannelID::tryReceivePulse ( )
noexcept

Try to receive a QNX pulse from the channel.

Return values
nulloptNo 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: