|
CaptureMoment 0.1.0
Free and open-source non-destructive photo editor
|
Abstract interface for asynchronous image processing workers. More...
#include <future>#include <memory>
Include dependency graph for i_worker_request.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| interface | CaptureMoment::Core::Workers::IWorkerRequest |
| Base interface for all asynchronous processing workers. More... | |
Namespaces | |
| namespace | CaptureMoment |
| namespace | CaptureMoment::Core |
| Manages the lifecycle of a single IWorkingImage instance. | |
| namespace | CaptureMoment::Core::Pipeline |
| namespace | CaptureMoment::Core::ImageProcessing |
| namespace | CaptureMoment::Core::Workers |
Abstract interface for asynchronous image processing workers.
This interface defines the contract for any specific image processing task (Worker). It follows the Intent pattern: the caller (StateImageManager) invokes the worker, and the worker handles the specific execution logic and data.
Architecture:
execute returns a std::future<bool>, allowing the implementation to handle threading (e.g., via std::async or a thread pool) internally.PipelineContext to access compiled managers and infrastructure.HalideOperationWorker) are responsible for storing and managing their specific data (e.g., operation vectors, AI parameters).Definition in file i_worker_request.h.