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

◆ has_pending_data()

bool MayaFlux::Kriya::BufferPipeline::has_pending_data ( ) const

Check if any operations have pending data ready for processing.

Returns
true if any operation has data in READY state, false otherwise

Queries the data states of all operations to determine if there is unprocessed data available. Useful for synchronization and debugging.

Definition at line 193 of file BufferPipeline.cpp.

194{
195 return std::ranges::any_of(m_data_states,
196 [](DataState state) { return state == DataState::READY; });
197}
@ READY
Data ready for processing.
std::vector< DataState > m_data_states

References m_data_states, and READY.