Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
PhosphorZones::LayoutComputeService Class Reference

#include <phosphor-zones/include/PhosphorZones/LayoutComputeService.h>

Inheritance diagram for PhosphorZones::LayoutComputeService:
[legend]

Signals

void geometriesComputed (const QString &screenId, const QUuid &layoutId, PhosphorZones::Layout *layout)
 
void requestCompute (const PhosphorZones::LayoutSnapshot &snapshot, uint64_t generation)
 

Public Member Functions

 LayoutComputeService (QObject *parent=nullptr)
 
 ~LayoutComputeService () override
 
void setLayoutManager (LayoutRegistry *manager)
 
bool requestRecalculate (Layout *layout, const QString &screenId, const QRectF &screenGeometry)
 

Static Public Member Functions

static void recalculateSync (Layout *layout, const QRectF &screenGeometry)
 

Constructor & Destructor Documentation

◆ LayoutComputeService()

PhosphorZones::LayoutComputeService::LayoutComputeService ( QObject *  parent = nullptr)
explicit

◆ ~LayoutComputeService()

PhosphorZones::LayoutComputeService::~LayoutComputeService ( )
override

Member Function Documentation

◆ geometriesComputed

void PhosphorZones::LayoutComputeService::geometriesComputed ( const QString &  screenId,
const QUuid &  layoutId,
PhosphorZones::Layout layout 
)
signal

◆ recalculateSync()

static void PhosphorZones::LayoutComputeService::recalculateSync ( Layout layout,
const QRectF &  screenGeometry 
)
static

◆ requestCompute

void PhosphorZones::LayoutComputeService::requestCompute ( const PhosphorZones::LayoutSnapshot snapshot,
uint64_t  generation 
)
signal

◆ requestRecalculate()

bool PhosphorZones::LayoutComputeService::requestRecalculate ( Layout layout,
const QString &  screenId,
const QRectF &  screenGeometry 
)

◆ setLayoutManager()

void PhosphorZones::LayoutComputeService::setLayoutManager ( LayoutRegistry manager)

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