|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
Abstract base class for operation units in recursive processing graphs. More...
#include <DataIO.hpp>
Collaboration diagram for MayaFlux::Yantra::OpUnit< T >:Public Member Functions | |
| void | add_dependency (std::shared_ptr< OpUnit< T > > dep) |
| Add a dependency operation unit. | |
| virtual Datum< T > | execute (const Datum< T > &input)=0 |
| Execute the operation on input data. | |
| const auto & | get_dependencies () const |
| Get all dependency operations. | |
| virtual std::string | get_name () const =0 |
| Get the name/identifier of this operation. | |
| virtual | ~OpUnit ()=default |
Protected Attributes | |
| std::vector< std::shared_ptr< OpUnit< T > > > | dependencies |
| Operation dependencies. | |
Abstract base class for operation units in recursive processing graphs.
| T | Data 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 289 of file DataIO.hpp.