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

◆ append()

void MayaFlux::Nodes::ChainNode::append ( const std::shared_ptr< Node > &  node)

Appends a node to the end of the chain.

Parameters
nodeNode to append

Definition at line 57 of file NodeChain.cpp.

58{
59 if (!node) {
60 error<std::invalid_argument>(
62 std::source_location::current(),
63 "Cannot append null node to ChainNode");
64 }
65 m_nodes.push_back(node);
66}
std::vector< std::shared_ptr< Node > > m_nodes
@ Init
Engine/subsystem initialization.
@ Nodes
DSP Generator and Filter Nodes, graph pipeline, node management.

References MayaFlux::Journal::Init, m_nodes, and MayaFlux::Journal::Nodes.