MayaFlux 0.2.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 330 of file NodeGraphManager.cpp.

331{
332 for (const auto& pair : m_Node_registry) {
333 if (pair.second == node) {
334 m_Node_registry.erase(pair.first);
335 break;
336 }
337 }
338}
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: