CaptureMoment 0.1.0
Free and open-source non-destructive photo editor
Loading...
Searching...
No Matches
i_operation.h
Go to the documentation of this file.
1
8#pragma once
9
13#include <expected>
15
16namespace CaptureMoment::Core {
17
18namespace Operations {
19
37public:
38 virtual ~IOperation() = default;
39
44 [[nodiscard]] virtual OperationType type() const = 0;
45
50 [[nodiscard]] virtual const char* name() const = 0;
51
52};
53
54} // namespace Operations
55
56} // namespace CaptureMoment::Core
Abstract base class for all image processing algorithms.
Definition i_operation.h:36
virtual OperationType type() const =0
Gets the unique type identifier of the operation.
virtual const char * name() const =0
Gets the constant name of the operation.
Central error handling system for CaptureMoment Core library.
Abstract interface representing an image used as a working buffer, abstracting hardware location.
OperationType
Identifies the type of an image processing operation.
Manages the lifecycle of a single IWorkingImage instance.
Descriptor of an operation with its parameters and unique identifier.
Enumeration of image processing operation types.
CaptureMoment — footer