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

◆ is_ready_for_processing()

bool MayaFlux::Kakshya::SoundStreamContainer::is_ready_for_processing ( ) const
overridevirtual

Check if the container is ready for processing.

Returns
true if ready to process, false otherwise

Used for scheduling and dependency resolution in data-driven pipelines.

Implements MayaFlux::Kakshya::SignalSourceContainer.

Definition at line 631 of file SoundStreamContainer.cpp.

632{
633 auto state = get_processing_state();
634 return has_data() && (state == ProcessingState::READY || state == ProcessingState::PROCESSED);
635}
bool has_data() const override
Check if the container currently holds any data.
ProcessingState get_processing_state() const override
Get the current processing state of the container.
@ READY
Container has data loaded and is ready for processing.
@ PROCESSED
Container has completed processing and results are available.

References get_processing_state(), has_data(), MayaFlux::Kakshya::PROCESSED, and MayaFlux::Kakshya::READY.

Referenced by process_default().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: