MayaFlux 0.4.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 305 of file UniversalTransformer.hpp.

306 {
307 if (name == "strategy") {
308 return m_strategy;
309 }
310 if (name == "quality") {
311 return m_quality;
312 }
313 if (name == "scope") {
314 return m_scope;
315 }
316 return get_transformation_parameter(name);
317 }
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.