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

◆ make_fluent() [1/2]

template<typename Executor , ComputeData DataType>
auto MayaFlux::Yantra::make_fluent ( std::shared_ptr< Executor >  executor,
DataType &&  data 
)

Construct a FluentExecutor from raw data with type deduction (convenience entry point)

Wraps data in a Datum immediately. No container is attached. Use the Datum overload when a container must survive through the chain.

Template Parameters
ExecutorExecutor type
DataTypeData type (deduced)
Parameters
executorShared pointer to the executor
dataRaw data to wrap and start the chain from
Returns
FluentExecutor<Executor, decay_t<DataType>>

Definition at line 585 of file OperationChain.hpp.

586{
588 std::move(executor),
589 Datum<std::decay_t<DataType>>(std::forward<DataType>(data)));
590}
Fluent interface for chaining operations on any executor.
Input/Output container for computation pipeline data flow with structure preservation.
Definition DataIO.hpp:24