Kanzi 3.9.10
kanzi::wayland::AbstractDefaultWaylandContext Class Referenceabstract

Class that represents an interface for Wayland callbacks. More...

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

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

Public Member Functions

 AbstractDefaultWaylandContext ()=default
 Constructor.
 
 AbstractDefaultWaylandContext (AbstractDefaultWaylandContext &&) noexcept=delete
 Move constructor.
 
 AbstractDefaultWaylandContext (const AbstractDefaultWaylandContext &)=delete
 Copy constructor.
 
virtual void eventNotification (const WaylandEvent &event)=0
 Called by the Wayland listener when it receives an event.
 
virtual void modeChangeNotification (int width, int height, int refresh)=0
 Called by the Wayland listener when monitor mode changes.
 
AbstractDefaultWaylandContextoperator= (AbstractDefaultWaylandContext &&) noexcept=delete
 Move assignment operator.
 
AbstractDefaultWaylandContextoperator= (const AbstractDefaultWaylandContext &)=delete
 Copy assignment operator.
 
virtual void registryAddedNotification (uint32_t name, const char *interfaceName, uint32_t version)=0
 Called by the Wayland listener when a registry is added.
 
virtual void resizeNotification (int width, int height)=0
 Called by the Wayland listener when the size of a window changes.
 
virtual void seatCapabilitiesNotification (uint32_t capabilities)=0
 Called by the Wayland listener when seat capabilities change.
 
virtual ~AbstractDefaultWaylandContext ()=default
 Destructor.
 

Detailed Description

Class that represents an interface for Wayland callbacks.

Since
Kanzi 3.9.8

Constructor & Destructor Documentation

◆ AbstractDefaultWaylandContext() [1/3]

kanzi::wayland::AbstractDefaultWaylandContext::AbstractDefaultWaylandContext ( )
explicitdefault

Constructor.

◆ ~AbstractDefaultWaylandContext()

virtual kanzi::wayland::AbstractDefaultWaylandContext::~AbstractDefaultWaylandContext ( )
virtualdefault

Destructor.

◆ AbstractDefaultWaylandContext() [2/3]

kanzi::wayland::AbstractDefaultWaylandContext::AbstractDefaultWaylandContext ( const AbstractDefaultWaylandContext & )
delete

Copy constructor.

◆ AbstractDefaultWaylandContext() [3/3]

kanzi::wayland::AbstractDefaultWaylandContext::AbstractDefaultWaylandContext ( AbstractDefaultWaylandContext && )
deletenoexcept

Move constructor.

Member Function Documentation

◆ operator=() [1/2]

AbstractDefaultWaylandContext & kanzi::wayland::AbstractDefaultWaylandContext::operator= ( const AbstractDefaultWaylandContext & )
delete

Copy assignment operator.

◆ operator=() [2/2]

AbstractDefaultWaylandContext & kanzi::wayland::AbstractDefaultWaylandContext::operator= ( AbstractDefaultWaylandContext && )
deletenoexcept

Move assignment operator.

◆ resizeNotification()

virtual void kanzi::wayland::AbstractDefaultWaylandContext::resizeNotification ( int width,
int height )
pure virtual

Called by the Wayland listener when the size of a window changes.

Parameters
widthNew window width.
heightNew window height.

Implemented in kanzi::wayland::DefaultWaylandEGLGraphicsOutput, and kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput.

◆ modeChangeNotification()

virtual void kanzi::wayland::AbstractDefaultWaylandContext::modeChangeNotification ( int width,
int height,
int refresh )
pure virtual

Called by the Wayland listener when monitor mode changes.

Parameters
widthNew monitor width.
heightNew monitor height.
refreshRefresh rate.

Implemented in kanzi::wayland::DefaultWaylandEGLGraphicsOutput, and kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput.

◆ eventNotification()

virtual void kanzi::wayland::AbstractDefaultWaylandContext::eventNotification ( const WaylandEvent & event)
pure virtual

Called by the Wayland listener when it receives an event.

See also
WaylandEvent
Parameters
eventReceived event.

Implemented in kanzi::wayland::DefaultWaylandEGLGraphicsOutput, and kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput.

◆ seatCapabilitiesNotification()

virtual void kanzi::wayland::AbstractDefaultWaylandContext::seatCapabilitiesNotification ( uint32_t capabilities)
pure virtual

Called by the Wayland listener when seat capabilities change.

Parameters
capabilitiesCapabilities mask.

Implemented in kanzi::wayland::DefaultWaylandEGLGraphicsOutput, and kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput.

◆ registryAddedNotification()

virtual void kanzi::wayland::AbstractDefaultWaylandContext::registryAddedNotification ( uint32_t name,
const char * interfaceName,
uint32_t version )
pure virtual

Called by the Wayland listener when a registry is added.

Parameters
nameUnique registry ID.
interfaceNameInterface name.
versionSupported interface version.

Implemented in kanzi::wayland::DefaultWaylandEGLGraphicsOutput, and kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput.


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