Kanzi  3.9.9
Kanzi Engine C++ API
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. More...
 
 AbstractDefaultWaylandContext (const AbstractDefaultWaylandContext &)=delete
 Copy constructor. More...
 
 AbstractDefaultWaylandContext (AbstractDefaultWaylandContext &&) noexcept=delete
 Move constructor. More...
 
virtual void eventNotification (const WaylandEvent &event)=0
 Called by the Wayland listener when it receives an event. More...
 
virtual void modeChangeNotification (int width, int height, int refresh)=0
 Called by the Wayland listener when monitor mode changes. More...
 
AbstractDefaultWaylandContextoperator= (const AbstractDefaultWaylandContext &)=delete
 Copy assignment operator. More...
 
AbstractDefaultWaylandContextoperator= (AbstractDefaultWaylandContext &&) noexcept=delete
 Move assignment operator. More...
 
virtual void registryAddedNotification (uint32_t name, const char *interfaceName, uint32_t version)=0
 Called by the Wayland listener when a registry is added. More...
 
virtual void resizeNotification (int width, int height)=0
 Called by the Wayland listener when the size of a window changes. More...
 
virtual void seatCapabilitiesNotification (uint32_t capabilities)=0
 Called by the Wayland listener when seat capabilities change. More...
 
virtual ~AbstractDefaultWaylandContext ()=default
 Destructor. More...
 

Detailed Description

Class that represents an interface for Wayland callbacks.

Since
Kanzi 3.9.8

Constructor & Destructor Documentation

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

Constructor.

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

Destructor.

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

Copy constructor.

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

Move constructor.

Member Function Documentation

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

Copy assignment operator.

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

Move assignment operator.

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.

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.

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.

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.

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: