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

◆ postprocess()

void MayaFlux::Nodes::RootNode::postprocess ( )

Performs post-processing after all nodes have been processed.

This method unregisters channel usage on the node, cleans up state and resets processing flags.

Definition at line 155 of file RootNode.cpp.

156{
158 return;
159
160 for (auto& node : m_Nodes) {
161 node->request_reset_from_channel(m_channel);
162 }
163
164 m_is_processing.store(false, std::memory_order_release);
165 m_is_processing.notify_all();
166}
std::vector< std::shared_ptr< Node > > m_Nodes
Collection of nodes registered with this root node.
Definition RootNode.hpp:151
uint32_t m_channel
The processing channel index for this root node.
Definition RootNode.hpp:211
std::atomic< bool > m_is_processing
Flag indicating if the root node is currently processing nodes.
Definition RootNode.hpp:162
bool m_skip_state_management
Flag indicating whether to skip preprocessing and post processing.
Definition RootNode.hpp:221

References m_channel, m_is_processing, m_Nodes, and m_skip_state_management.

Referenced by process_frame(), and process_sample().

+ Here is the caller graph for this function: