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

◆ consume()

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

Move the final raw result out of the chain.

Returns
Moved DataType

Definition at line 388 of file OperationChain.hpp.

389 {
390 if (!m_successful) {
391 error<std::runtime_error>(
393 std::source_location::current(),
394 "Cannot consume result from failed chain");
395 }
396 return std::move(m_data.data);
397 }
@ ComputeMatrix
Compute operations (Yantra - algorithms, matrices, DSP)
@ Yantra
DSP algorithms, computational units, matrix operations, Grammar.
T data
The actual computation data.
Definition DataIO.hpp:25