CaptureMoment 0.1.0
Free and open-source non-destructive photo editor
Loading...
Searching...
No Matches
pipeline_context.cpp
Go to the documentation of this file.
1
10
11#include <spdlog/spdlog.h>
12
14
16{
17 spdlog::info("PipelineContext::PipelineContext: Initializing Context...");
18
19 // Register all available pipeline types
21
22 // Instantiate concrete managers (Halide only for now)
23 m_halide_manager = std::make_unique<Strategies::PipelineHalideOperationManager>();
24
25 if (!m_halide_manager) {
26 spdlog::error("PipelineContext::PipelineContext: Failed to build Halide Manager.");
27 }
28
29 spdlog::debug("PipelineContext::PipelineContext: Context initialized with Builder and Managers.");
30 spdlog::debug("PipelineContext::PipelineContext: Builder and Managers are ready for use.");
31
32 // Note: The actual initialization of managers with operations is done later by StateImageManager
33 // when it has the list of operations ready. This allows the Context to be flexible and not
34 // tied to a specific set of operations at construction time.
35
36 spdlog::info("PipelineContext::PipelineContext: Initialization complete.");
37}
38
39} // namespace CaptureMoment::Core::Pipeline
static void registerAll()
Register all available pipeline executors.
Container for pipeline infrastructure (Builder and Managers).
Central registry for all pipeline executors.
CaptureMoment — footer