MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Yantra::OpUnit< T > Class Template Referenceabstract

Abstract base class for operation units in recursive processing graphs. More...

#include <DataIO.hpp>

+ Collaboration diagram for MayaFlux::Yantra::OpUnit< T >:

Public Member Functions

virtual ~OpUnit ()=default
 
virtual IO< T > execute (const IO< T > &input)=0
 Execute the operation on input data.
 
virtual std::string get_name () const =0
 Get the name/identifier of this operation.
 
void add_dependency (std::shared_ptr< OpUnit< T > > dep)
 Add a dependency operation unit.
 
const auto & get_dependencies () const
 Get all dependency operations.
 

Protected Attributes

std::vector< std::shared_ptr< OpUnit< T > > > dependencies
 Operation dependencies.
 

Detailed Description

template<ComputeData T = std::vector<Kakshya::DataVariant>>
class MayaFlux::Yantra::OpUnit< T >

Abstract base class for operation units in recursive processing graphs.

Template Parameters
TData type that satisfies ComputeData concept

Represents a single computational node that can process data and maintain dependencies on other operation units. Forms the building blocks of computation pipelines with automatic dependency resolution.

Definition at line 292 of file DataIO.hpp.


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