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

◆ update_processing_state()

void MayaFlux::Kakshya::PlotContainer::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 422 of file PlotContainer.cpp.

423{
424 m_processing_state.store(state, std::memory_order_release);
425 if (m_state_cb)
426 m_state_cb(shared_from_this(), state);
427}
std::function< void(const std::shared_ptr< SignalSourceContainer > &, ProcessingState)> m_state_cb
std::atomic< ProcessingState > m_processing_state

References m_processing_state, and m_state_cb.

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

+ Here is the caller graph for this function: