Neuralyzer::Transforms::V2::IContainerExecutor
Neuralyzer::Transforms::V2::IContainerExecutor
Interface for type-erased container execution. More…
#include <ContainerExecutor.hpp>
Inherited by Neuralyzer::Transforms::V2::TypedContainerExecutor< InContainer, OutContainer, Params >
Public Functions
| Name | |
|---|---|
| virtual | ~IContainerExecutor() =default |
| virtual DataTypeVariant | execute(std::string const & name, DataTypeVariant const & input_variant, ComputeContext const & ctx) const =0 Execute the container transform on type-erased input. |
Detailed Description
class Neuralyzer::Transforms::V2::IContainerExecutor;Interface for type-erased container execution.
This interface allows executing container transforms without knowing the concrete input/output/parameter types at the call site. The types are captured at registration time.
This mirrors IParamExecutor for element transforms, enabling container transforms to be first-class citizens in the pipeline system.
Public Functions Documentation
function ~IContainerExecutor
virtual ~IContainerExecutor() =defaultfunction execute
virtual DataTypeVariant execute(
std::string const & name,
DataTypeVariant const & input_variant,
ComputeContext const & ctx
) const =0Execute the container transform on type-erased input.
Parameters:
- name Transform name (for registry lookup)
- input_variant Input data as DataTypeVariant
- ctx Compute context for progress/cancellation
Exceptions:
- std::runtime_error if input type doesn’t match expected type
Return: Output data as DataTypeVariant
Reimplemented by: Neuralyzer::Transforms::V2::TypedContainerExecutor::execute
Updated on 2026-11-13 at 20:25:41 +0000