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

◆ active_word()

std::shared_ptr< const RewriteOperator::Word > MayaFlux::Nodes::Network::RewriteOperator::active_word ( ) const
nodiscard

Return the latest active word on the producer lane.

Definition at line 389 of file RewriteOperator.cpp.

390{
391 const auto id = m_active_submission_id.load(std::memory_order_acquire);
392 if (m_submitted.word && m_submitted.id == id) {
393 return m_submitted.word;
394 }
395 return m_active_word;
396}
std::shared_ptr< const Word > m_active_word

References active_word(), m_active_submission_id, m_active_word, and m_submitted.

Referenced by active_word().

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