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

◆ add_dependency()

template<ComputeData T = std::vector<Kakshya::DataVariant>>
void MayaFlux::Yantra::OpUnit< T >::add_dependency ( std::shared_ptr< OpUnit< T > >  dep)
inline

Add a dependency operation unit.

Parameters
depShared pointer to the dependency operation

Dependencies are executed before this operation in the pipeline.

Definition at line 315 of file DataIO.hpp.

316 {
317 dependencies.push_back(std::move(dep));
318 }
std::vector< std::shared_ptr< OpUnit< T > > > dependencies
Operation dependencies.
Definition DataIO.hpp:327

References MayaFlux::Yantra::OpUnit< T >::dependencies.