Wayland display wrapper class. More...
#include <kanzi/core.ui/platform/windowing_ng/wayland/wayland_display.hpp>
Public Member Functions | |
void | cancelRead () const noexcept |
Cancels read intention on display's file descriptor. | |
bool | dispatch () const noexcept |
Dispatches queued Wayland events. | |
bool | dispatchPending () const noexcept |
Dispatches queued Wayland events. | |
bool | flush () const noexcept |
Sends all buffered requests on the display to the server. | |
KZ_NO_DISCARD int | getFileDescriptor () const noexcept |
Gets the underlying file descriptor. | |
KZ_NO_DISCARD wl_display * | getNativeHandle () const noexcept |
Gets the underlying native handle. | |
WaylandDisplay & | operator= (const WaylandDisplay &)=delete |
Copy assignment operator. | |
WaylandDisplay & | operator= (WaylandDisplay &&)=delete |
Move assignment operator. | |
bool | prepareRead () const noexcept |
Prepares to read events from the display's file descriptor. | |
bool | readEvents () const noexcept |
Reads events from a display file descriptor. | |
bool | roundtrip () const noexcept |
Blocks until compositor processes all requests. | |
WaylandDisplay () noexcept | |
Constructor. | |
WaylandDisplay (const string &displayName) noexcept | |
Constructor. | |
WaylandDisplay (const WaylandDisplay &)=delete | |
Copy constructor. | |
WaylandDisplay (WaylandDisplay &&)=delete | |
Move constructor. | |
WaylandDisplay (wl_display *nativeHandle) noexcept | |
Constructor. | |
~WaylandDisplay () | |
Destructor. | |
Wayland display wrapper class.
|
explicitnoexcept |
Constructor.
nativeHandle | Native Wayland handle. |
|
explicitnoexcept |
Constructor.
displayName | Display name to use when connecting. |
|
explicitnoexcept |
Constructor.
kanzi::wayland::WaylandDisplay::~WaylandDisplay | ( | ) |
Destructor.
|
delete |
Copy constructor.
|
delete |
Move constructor.
|
delete |
Copy assignment operator.
|
delete |
Move assignment operator.
|
noexcept |
Dispatches queued Wayland events.
If no events are queued, this operation returns without blocking.
|
noexcept |
Dispatches queued Wayland events.
If no events are queued, this operation blocks until the next event occurs.
|
noexcept |
Blocks until compositor processes all requests.
This function is blocking.
|
noexcept |
Sends all buffered requests on the display to the server.
|
noexcept |
Prepares to read events from the display's file descriptor.
|
noexcept |
Reads events from a display file descriptor.
|
noexcept |
Cancels read intention on display's file descriptor.
|
noexcept |
Gets the underlying file descriptor.
|
noexcept |
Gets the underlying native handle.