MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Yantra::Granular::AttributeConfig Struct Reference

Settings of AttributeOp, stored whole in the operation's facets. More...

#include <GranularWorkflow.hpp>

Inheritance diagram for MayaFlux::Yantra::Granular::AttributeConfig:
Collaboration diagram for MayaFlux::Yantra::Granular::AttributeConfig:

Public Attributes

AnalysisType analysis_type { AnalysisType::FEATURE }
 Analyzer family used when no executor is set.
std::shared_ptr< void > analyzer
 Pre-configured analyzer of the family named by analysis_type.
uint32_t channel { 0 }
 Source channel index.
std::shared_ptr< Kakshya::SignalSourceContainer > container
 Source used when the Datum carries no container.
AttributeExecutor executor
 Custom per-grain math.
Qualifier qualifier { 0 }
 Scalar selected from the analysis result.

Additional Inherited Members

Public Member Functions inherited from MayaFlux::Yantra::OperationConfig
template<typename Op>
void apply_to (Op &operation) const
 Apply retained concrete settings to an operation through its parent contract.
template<typename T>
const T * get () const
 The struct of this type, or nullptr when absent.
 OperationConfig ()=default
template<typename Config>
requires (!std::same_as<std::remove_cvref_t<Config>, OperationConfig> && std::derived_from<std::remove_cvref_t<Config>, OperationConfig>)
 OperationConfig (Config &&config)
 Retain a concrete config whole when placed in a parent-config collection.
 OperationConfig (const OperationConfig &)=default
 OperationConfig (OperationConfig &&) noexcept=default
OperationConfig & operator= (const OperationConfig &)=default
OperationConfig & operator= (OperationConfig &&) noexcept=default
template<typename T>
void set (T value)
 Stores a struct under its type identity.

Detailed Description

Settings of AttributeOp, stored whole in the operation's facets.

Attribution is resolved in the following priority order:

  1. executor : a span lambda for fully custom math.
  2. analyzer : a pre-configured analyzer, paired with qualifier.
  3. analysis_type : AttributeOp uses a default-configured analyzer of that family.

Definition at line 170 of file GranularWorkflow.hpp.


The documentation for this struct was generated from the following file: