Terminates all active processing across all tokens and channels.
This method stops all active processing contexts in all root nodes and networks, ensuring a clean shutdown of processing activities.
Definition at line 589 of file NodeGraphManager.cpp.
590{
592 return;
593
595 for (
auto&
network : networks) {
598 }
599 }
600 }
601
603 for (
auto&
network : networks) {
606 }
607 }
608 }
609
611
614 for (auto* root : roots) {
615 root->terminate_all_nodes();
616 }
617 }
618}
Core::GlobalNetworkConfig network
std::unordered_map< ProcessingToken, std::vector< std::shared_ptr< Network::NodeNetwork > > > m_token_networks
Non-audio networks (token-level processing) For NONE, GRAPHICS_BIND, CUSTOM output modes.
std::atomic< bool > m_terminate_requested
Global termination flag.
std::unordered_map< ProcessingToken, std::vector< std::shared_ptr< Network::NodeNetwork > > > m_audio_networks
Audio-sink networks Only populated for networks with OutputMode::AUDIO_SINK.
void unregister_network_global(const std::shared_ptr< Network::NodeNetwork > &network)
Unregister network globally.
std::vector< ProcessingToken > get_active_tokens() const
Gets all currently active processing tokens (domains)
std::vector< RootNode * > get_all_root_nodes(ProcessingToken token)
Get spans of root nodes for a token (for custom processing)
References get_active_tokens(), get_all_root_nodes(), m_audio_networks, m_terminate_requested, m_token_networks, network, and unregister_network_global().
Referenced by ~NodeGraphManager().