Kanzi 3.9.10
kanzi::wayland::WaylandTouch Class Reference

Wayland touch wrapper class. More...

#include <kanzi/core.ui/platform/input_ng/wayland/wayland_touch.hpp>

Inheritance diagram for kanzi::wayland::WaylandTouch:
[legend]

Public Member Functions

 WaylandTouch (const WaylandSeat &seat) noexcept
 Constructor.
 
 WaylandTouch (wl_touch *nativeHandle) noexcept
 Constructor.
 
- Public Member Functions inherited from kanzi::wayland::WaylandInterface< WaylandTouch, wl_touch, wl_touch_listener >
bool addListener (enable_if_t<!is_same< L, void >::value, const L & > listener, void *data) const noexcept
 Adds a listener to Wayland object.
 
KZ_NO_DISCARD unsigned int askVersion () const noexcept
 Requests compositor which interface version we use.
 
KZ_NO_DISCARD wl_touch * getNativeHandle () const noexcept
 Gets the underlying native handle.
 

Static Public Attributes

static constexpr auto s_capabilityBit
 Generic alias to query for corresponding capability bit.
 
static const wl_interface s_nativeInterface
 Represents the underlying native interface.
 

Additional Inherited Members

- Public Types inherited from kanzi::wayland::WaylandInterface< WaylandTouch, wl_touch, wl_touch_listener >
using ListenerType
 Generic alias to query for appropriate listener type.
 
- Static Public Member Functions inherited from kanzi::wayland::WaylandInterface< WaylandTouch, wl_touch, wl_touch_listener >
static KZ_NO_DISCARD unsigned int askVersion (wl_touch *handle) noexcept
 Requests compositor which interface version we use.
 

Detailed Description

Wayland touch wrapper class.

Since
Kanzi 3.9.8

Constructor & Destructor Documentation

◆ WaylandTouch() [1/2]

kanzi::wayland::WaylandTouch::WaylandTouch ( wl_touch * nativeHandle)
explicitnoexcept

Constructor.

Parameters
nativeHandleNative Wayland handle.

◆ WaylandTouch() [2/2]

kanzi::wayland::WaylandTouch::WaylandTouch ( const WaylandSeat & seat)
explicitnoexcept

Constructor.

Constructs a WaylandTouch object for a given Wayland seat.

Parameters
seatWaylandSeat used to query for pointer.

Member Data Documentation

◆ s_capabilityBit

constexpr auto kanzi::wayland::WaylandTouch::s_capabilityBit
staticconstexpr

Generic alias to query for corresponding capability bit.

See also
WaylandSeat

◆ s_nativeInterface

const wl_interface kanzi::wayland::WaylandTouch::s_nativeInterface
static

Represents the underlying native interface.


The documentation for this class was generated from the following file: