Skip to main content

Neuralyzer::Transforms::V2::IParamExecutor

Neuralyzer::Transforms::V2::IParamExecutor

Interface for parameter executors with captured state. More…

#include <ParamExecutor.hpp>

Inherited by Neuralyzer::Transforms::V2::TypedParamExecutor< In, Out, Params >

Public Functions

Name
virtual ~IParamExecutor() =default
virtual ElementVariant execute(std::string const & name, ElementVariant const & input) const =0
virtual ElementVariant executeAny(std::string const & name, std::any const & input) const =0

Detailed Description

class Neuralyzer::Transforms::V2::IParamExecutor;

Interface for parameter executors with captured state.

Each executor knows its input/output types and has parameters captured. This eliminates per-element casts and type dispatch.

Public Functions Documentation

function ~IParamExecutor

virtual ~IParamExecutor() =default

function execute

virtual ElementVariant execute(
    std::string const & name,
    ElementVariant const & input
) const =0

Reimplemented by: Neuralyzer::Transforms::V2::TypedParamExecutor::execute

function executeAny

virtual ElementVariant executeAny(
    std::string const & name,
    std::any const & input
) const =0

Reimplemented by: Neuralyzer::Transforms::V2::TypedParamExecutor::executeAny


Updated on 2026-11-13 at 20:25:41 +0000