Kanzi  3.9.8
Kanzi Engine C++ API
kanzi::wayland::WaylandCallback Class Reference

Wayland callback wrapper class. More...

#include <kanzi/core.ui/platform/windowing_ng/wayland/wayland_callback.hpp>

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

Public Member Functions

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

Static Public Attributes

static const wl_interface s_nativeInterface
 Represents the underlying native interface. More...
 

Additional Inherited Members

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

Detailed Description

Wayland callback wrapper class.

Since
Kanzi 3.9.8

Constructor & Destructor Documentation

kanzi::wayland::WaylandCallback::WaylandCallback ( wl_callback *  nativeHandle)
explicitnoexcept

Constructor.

Parameters
nativeHandleNative Wayland handle.
kanzi::wayland::WaylandCallback::WaylandCallback ( const WaylandSurface surface)
explicitnoexcept

Constructor.

Parameters
surfaceWaylandSurface to construct WaylandCallback from.

Member Data Documentation

const wl_interface kanzi::wayland::WaylandCallback::s_nativeInterface
static

Represents the underlying native interface.


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