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

◆ unregister_node()

void MayaFlux::Nodes::RootNode::unregister_node ( const std::shared_ptr< Node > &  node)

Removes a node from this root node.

Parameters
nodeThe node to unregister

After unregistering, the node will no longer contribute to the root node's output. If called during processing, the operation is deferred until safe.

Definition at line 41 of file RootNode.cpp.

42{
43 if (!node)
44 return;
45
47
48 enqueue_operation({ node, false });
49}
void enqueue_operation(PendingOp &&op)
Queues an operation, draining on the caller's behalf when the queue is full.
Definition RootNode.cpp:15
@ PENDING_REMOVAL
Node is marked for removal.
Definition NodeSpec.hpp:46
void atomic_add_flag(std::atomic< NodeState > &state, NodeState flag)
Atomically adds a flag to a node state.

References MayaFlux::Nodes::atomic_add_flag(), enqueue_operation(), and MayaFlux::Nodes::PENDING_REMOVAL.

Referenced by MayaFlux::Kriya::TemporalActivation::cleanup_current_operation().

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