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

◆ unregister_global()

void MayaFlux::Nodes::NodeGraphManager::unregister_global ( const std::shared_ptr< Node > &  node)
private

Unregisters a node globally.

Parameters
nodeNode to unregister

Removes the node from the global registry and cleans up any references.

Definition at line 354 of file NodeGraphManager.cpp.

355{
356 for (const auto& pair : m_Node_registry) {
357 if (pair.second == node) {
358 m_Node_registry.erase(pair.first);
359 break;
360 }
361 }
362}
std::unordered_map< std::string, std::shared_ptr< Node > > m_Node_registry
Registry of all nodes by their string identifiers.

References m_Node_registry.

Referenced by unset_channel_mask().

+ Here is the caller graph for this function: