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

◆ for_cycles()

BufferCapture & MayaFlux::Kriya::BufferCapture::for_cycles ( uint32_t  count)

Set the number of times to execute this capture operation.

Parameters
countNumber of sequential executions per pipeline cycle
Returns
Reference to this BufferCapture for chaining

Controls how many times the capture operation executes within a single pipeline cycle. Each execution receives an incrementing cycle number and calls the on_data_ready callback. The buffer is re-read for each iteration, allowing accumulation of multiple samples.

Note
This affects only CAPTURE operations. Other operation types (TRANSFORM, ROUTE, etc.) always execute once per pipeline cycle.

Definition at line 25 of file Capture.cpp.

26{
27 m_cycle_count = count;
29 return *this;
30}
CaptureMode
Defines the data capture and retention strategy.
Definition Capture.hpp:58
@ TRANSIENT
Single cycle capture (default) - data expires after 1 cycle.
@ ACCUMULATE
Accumulate over multiple cycles in container.

References ACCUMULATE, m_cycle_count, m_mode, and TRANSIENT.

Referenced by MayaFlux::Kriya::BufferOperation::for_cycles(), and MayaFlux::Kriya::CaptureBuilder::for_cycles().

+ Here is the caller graph for this function: