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

◆ notify_state_change()

void MayaFlux::Kakshya::VideoStreamContainer::notify_state_change ( ProcessingState  new_state)
protected

Definition at line 510 of file VideoStreamContainer.cpp.

511{
512 std::lock_guard lock(m_state_mutex);
514 m_state_callback(shared_from_this(), new_state);
515}
std::function< void(const std::shared_ptr< SignalSourceContainer > &, ProcessingState)> m_state_callback
void lock() override
Acquire a lock for thread-safe access.

References lock(), m_state_callback, and m_state_mutex.

Referenced by update_processing_state().

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