Kanzi 3.9.10
kanzi::wayland::IVILayer Class Reference

Represents IVI layer. More...

#include <kanzi/core.ui/platform/windowing_ng/wayland_ivi_egl/wayland_ivi_layer.hpp>

Public Member Functions

void bindSurface (uint32_t surfaceId) const noexcept
 Assigns surface to this layer.
 
void clear () const noexcept
 Requests the compositor to remove all surfaces from this layer.
 
void configure (const IVILayerProps &layerProps) const noexcept
 Helper function that requests the compositor to change surface state to match the provided properties.
 
KZ_NO_DISCARD uint32_t getLayerId () const noexcept
 Gets the layer ID.
 
KZ_NO_DISCARD const IVILayerPropsgetProps () const noexcept
 Gets the internal layer state.
 
KZ_NO_DISCARD bool isCreated () const noexcept
 Gets the m_isCreated value.
 
 IVILayer (const IVILayer &)=delete
 Copy constructor.
 
 IVILayer (IVILayer &&) noexcept=delete
 Move constructor.
 
 IVILayer (IVIWM &iviWM, const IVILayerProps &iviLayerProps) noexcept
 Constructor.
 
IVILayeroperator= (const IVILayer &)=delete
 Copy assignment operator.
 
IVILayeroperator= (IVILayer &&) noexcept=delete
 Move assignment operator.
 
void releaseSurface (uint32_t surfaceId) const noexcept
 Removes surface from this layer.
 
void setCreated (bool value) noexcept
 Sets the m_isCreated value.
 
void setDestination (int32_t x, int32_t y, int32_t width, int32_t height) const noexcept
 Requests compositor to change destination rectangle.
 
void setOpacity (double opacity) const noexcept
 Requests compositor to change opacity.
 
void setProps (const IVILayerProps &props) noexcept
 Sets the internal layer state.
 
void setSource (int32_t x, int32_t y, int32_t width, int32_t height) const noexcept
 Requests compositor to change source rectangle.
 
void setVisibility (uint32_t visibility) const noexcept
 Requests compositor to change visibility.
 
void syncStart () const noexcept
 Requests the compositor to start sending the event about the layer changes.
 
void syncStop () const noexcept
 Requests the compositor to stop sending the event about the layer changes.
 
 ~IVILayer ()
 Destructor.
 

Detailed Description

Represents IVI layer.

Since
Kanzi 3.9.8

Constructor & Destructor Documentation

◆ IVILayer() [1/3]

kanzi::wayland::IVILayer::IVILayer ( IVIWM & iviWM,
const IVILayerProps & iviLayerProps )
explicitnoexcept

Constructor.

Parameters
iviWMIVIWM object.
iviLayerPropsLayer properties to use for this layer.

◆ ~IVILayer()

kanzi::wayland::IVILayer::~IVILayer ( )

Destructor.

◆ IVILayer() [2/3]

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

Copy constructor.

◆ IVILayer() [3/3]

kanzi::wayland::IVILayer::IVILayer ( IVILayer && )
deletenoexcept

Move constructor.

Member Function Documentation

◆ operator=() [1/2]

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

Copy assignment operator.

◆ operator=() [2/2]

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

Move assignment operator.

◆ bindSurface()

void kanzi::wayland::IVILayer::bindSurface ( uint32_t surfaceId) const
noexcept

Assigns surface to this layer.

Parameters
surfaceIdSurface ID.

◆ releaseSurface()

void kanzi::wayland::IVILayer::releaseSurface ( uint32_t surfaceId) const
noexcept

Removes surface from this layer.

Parameters
surfaceIdSurface ID.

◆ setSource()

void kanzi::wayland::IVILayer::setSource ( int32_t x,
int32_t y,
int32_t width,
int32_t height ) const
noexcept

Requests compositor to change source rectangle.

Parameters
xX coordinate.
yY coordinate.
widthWidth.
heightHeight.

◆ setDestination()

void kanzi::wayland::IVILayer::setDestination ( int32_t x,
int32_t y,
int32_t width,
int32_t height ) const
noexcept

Requests compositor to change destination rectangle.

Parameters
xX coordinate.
yY coordinate.
widthWidth.
heightHeight.

◆ setVisibility()

void kanzi::wayland::IVILayer::setVisibility ( uint32_t visibility) const
noexcept

Requests compositor to change visibility.

Parameters
visibilityVisibility to set.

◆ setOpacity()

void kanzi::wayland::IVILayer::setOpacity ( double opacity) const
noexcept

Requests compositor to change opacity.

Parameters
opacityOpacity value.

◆ configure()

void kanzi::wayland::IVILayer::configure ( const IVILayerProps & layerProps) const
noexcept

Helper function that requests the compositor to change surface state to match the provided properties.

Parameters
layerPropsProperties to use.

◆ syncStart()

void kanzi::wayland::IVILayer::syncStart ( ) const
noexcept

Requests the compositor to start sending the event about the layer changes.

See also
syncStop()

◆ syncStop()

void kanzi::wayland::IVILayer::syncStop ( ) const
noexcept

Requests the compositor to stop sending the event about the layer changes.

See also
syncStart()

◆ clear()

void kanzi::wayland::IVILayer::clear ( ) const
noexcept

Requests the compositor to remove all surfaces from this layer.

◆ isCreated()

KZ_NO_DISCARD bool kanzi::wayland::IVILayer::isCreated ( ) const
noexcept

Gets the m_isCreated value.

Return values
trueLayer was created.
falseLayer was not created.

◆ setCreated()

void kanzi::wayland::IVILayer::setCreated ( bool value)
noexcept

Sets the m_isCreated value.

Parameters
valueValue to set.

◆ getLayerId()

KZ_NO_DISCARD uint32_t kanzi::wayland::IVILayer::getLayerId ( ) const
noexcept

Gets the layer ID.

Returns
layer ID.

◆ getProps()

KZ_NO_DISCARD const IVILayerProps & kanzi::wayland::IVILayer::getProps ( ) const
noexcept

Gets the internal layer state.

Returns
Internal layer state.

◆ setProps()

void kanzi::wayland::IVILayer::setProps ( const IVILayerProps & props)
noexcept

Sets the internal layer state.

Parameters
propsProperties to use.

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