14#include <spdlog/spdlog.h>
75 mutable std::mutex m_mutex;
76 std::vector<Core::Operations::OperationDescriptor> m_active_operations;
Manages the state of active image operations.
void clearAllOperations()
Clears all active operations, resetting the state to empty (original image with no ops).
void addOrUpdateOperation(const Core::Operations::OperationDescriptor &descriptor)
Adds or updates an operation in the active state.
~OperationStateManager()=default
OperationStateManager(const OperationStateManager &)=delete
OperationStateManager()
Constructs an OperationStateManager.
std::vector< Core::Operations::OperationDescriptor > getActiveOperations() const
Gets the current list of active operation descriptors.
void removeOperation(Core::Operations::OperationType type)
Removes an operation of a specific type from the active state.
OperationStateManager & operator=(const OperationStateManager &)=delete
OperationType
Identifies the type of an image processing operation.
Descriptor of an operation with its parameters and unique identifier.
A universal container for operation settings with unique identifier.