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

◆ update_processing_state()

void MayaFlux::Kakshya::VideoStreamContainer::update_processing_state ( ProcessingState  new_state)
overridevirtual

Update the processing state of the container.

Parameters
new_stateNew ProcessingState to set

May trigger registered state change callbacks for event-driven workflows.

Implements MayaFlux::Kakshya::SignalSourceContainer.

Definition at line 503 of file VideoStreamContainer.cpp.

504{
505 ProcessingState old = m_processing_state.exchange(new_state);
506 if (old != new_state)
507 notify_state_change(new_state);
508}
void notify_state_change(ProcessingState new_state)
std::atomic< ProcessingState > m_processing_state
ProcessingState
Represents the current processing lifecycle state of a container.

References m_processing_state, and notify_state_change().

Referenced by clear(), mark_ready_for_processing(), process_default(), and setup_ring().

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