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

◆ TransformationKey()

MayaFlux::Yantra::TransformationKey::TransformationKey ( std::string  n,
std::function< double(const std::any &)>  e 
)
inline

Constructs a TransformationKey with name and extractor.

Parameters
nName identifier for the key
eFunction to extract parameter values from input data

Definition at line 154 of file UniversalTransformer.hpp.

155 : name(std::move(n))
156 , parameter_extractor(std::move(e))
157 {
158 }
std::string name
Unique identifier for this transformation key.
std::function< double(const std::any &)> parameter_extractor
Extract parameter value from data.