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

◆ is_ready_for_processing()

bool MayaFlux::Kakshya::VideoStreamContainer::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 530 of file VideoStreamContainer.cpp.

531{
532 auto state = get_processing_state();
533 return has_data() && (state == ProcessingState::READY || state == ProcessingState::PROCESSED);
534}
ProcessingState get_processing_state() const override
Get the current processing state of the container.
bool has_data() const override
Check if the container currently holds any data.
@ 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: