CaptureMoment 0.1.0
Free and open-source non-destructive photo editor
Loading...
Searching...
No Matches
CaptureMoment::UI::IOperationModel Class Referenceabstract

Pure interface for operation models. More...

#include <i_operation_model.h>

+ Inheritance diagram for CaptureMoment::UI::IOperationModel:

Public Member Functions

virtual ~IOperationModel ()=default
 
virtual QString name () const =0
 Get operation name.
 
virtual bool isActive () const =0
 Check if operation is active (non-default)
 
virtual Core::Operations::OperationType getType () const =0
 Gets the type of this operation.
 
virtual Core::Operations::OperationDescriptor getDescriptor () const =0
 Creates and returns an OperationDescriptor representing the current state of this model. This descriptor contains the operation type, name, parameters (like the brightness value), and other metadata required by the core processing engine (PipelineEngine).
 
virtual void reset ()=0
 Reset to default state.
 

Detailed Description

Pure interface for operation models.

This is the CONTRACT - defines what all operations must implement Independent of Qt, independent of signals/slots

Definition at line 24 of file i_operation_model.h.

Constructor & Destructor Documentation

◆ ~IOperationModel()

virtual CaptureMoment::UI::IOperationModel::~IOperationModel ( )
virtualdefault

Member Function Documentation

◆ name()

◆ isActive()

virtual bool CaptureMoment::UI::IOperationModel::isActive ( ) const
nodiscardpure virtual

Check if operation is active (non-default)

Implemented in CaptureMoment::UI::Models::Operations::BaseAdjustmentModel.

◆ getType()

◆ getDescriptor()

virtual Core::Operations::OperationDescriptor CaptureMoment::UI::IOperationModel::getDescriptor ( ) const
nodiscardpure virtual

Creates and returns an OperationDescriptor representing the current state of this model. This descriptor contains the operation type, name, parameters (like the brightness value), and other metadata required by the core processing engine (PipelineEngine).

Returns
OperationDescriptor representing the current brightness state.

Implemented in CaptureMoment::UI::Models::Operations::BlacksModel, CaptureMoment::UI::Models::Operations::BrightnessModel, CaptureMoment::UI::Models::Operations::ContrastModel, CaptureMoment::UI::Models::Operations::HighlightsModel, CaptureMoment::UI::Models::Operations::ShadowsModel, and CaptureMoment::UI::Models::Operations::WhitesModel.

◆ reset()


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