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

◆ reset() [1/2]

template<typename Executor , ComputeData DataType>
FluentExecutor & MayaFlux::Yantra::FluentExecutor< Executor, DataType >::reset ( const DataType &  new_data)
inline

Reset the chain with raw data (convenience overload)

Wraps new_data in a Datum and delegates to the primary reset. No container is attached; use the Datum overload if a container must be present from the start of the next chain.

Parameters
new_dataRaw data to wrap and restart the chain from
Returns
Reference to this executor for continued chaining

Definition at line 506 of file OperationChain.hpp.

507 {
508 return reset(Datum<DataType>(new_data));
509 }
FluentExecutor & reset(const Datum< DataType > &new_datum)
Reset the chain with a new Datum, clearing history and errors.