Kanzi  3.9.9
Kanzi Engine C++ API
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. More...
 
 QnxChannelID (QnxChannelIDFlags channelFlags)
 Constructor. More...
 
 QnxChannelID (int channelHandle)
 Constructor. More...
 
KZ_NO_DISCARD optional< struct _pulse > tryReceivePulse () noexcept
 Try to receive a Qnx pulse from the channel. More...
 
 ~QnxChannelID ()
 Destructor. More...
 

Detailed Description

Class representing Qnx communication channel ID.

Constructor & Destructor Documentation

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

Constructor.

Parameters
channelFlagsThe channel flags to use.
kanzi::qnx::QnxChannelID::QnxChannelID ( int  channelHandle)
explicit

Constructor.

Parameters
channelHandleQnx channel handle.
Precondition
channelHandle must be a valid channel handle.
kanzi::qnx::QnxChannelID::~QnxChannelID ( )

Destructor.

Member Function Documentation

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.
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: