MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ get_parameter()

template<ComputeData InputType = Kakshya::DataVariant, ComputeData OutputType = InputType>
std::any MayaFlux::Yantra::UniversalTransformer< InputType, OutputType >::get_parameter ( const std::string &  name) const
inlineoverridevirtual

Gets a parameter value by name.

Parameters
nameParameter name
Returns
Parameter value or empty std::any if not found

Handles core transformer parameters and delegates to get_transformation_parameter() for transformer-specific parameters.

Implements MayaFlux::Yantra::ComputeOperation< InputType, OutputType >.

Definition at line 300 of file UniversalTransformer.hpp.

301 {
302 if (name == "strategy") {
303 return m_strategy;
304 }
305 if (name == "quality") {
306 return m_quality;
307 }
308 if (name == "scope") {
309 return m_scope;
310 }
311 return get_transformation_parameter(name);
312 }
TransformationScope m_scope
Current processing scope.
TransformationStrategy m_strategy
Core transformation configuration.
virtual std::any get_transformation_parameter(const std::string &name) const
Gets a transformation-specific parameter value.
TransformationQuality m_quality
Current quality level.