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

◆ get_last_context()

NodeContext & MayaFlux::Nodes::ChainNode::get_last_context ( )
overridevirtual

Retrieves the last created context object.

Returns
Reference to the last NodeContext object

This method provides access to the most recent NodeContext object created by the node. This context contains information about the node's state at the time of the last output generation.

Implements MayaFlux::Nodes::Node.

Definition at line 151 of file NodeStructure.cpp.

152{
153 if (!m_Target) {
154 error<std::runtime_error>(
156 std::source_location::current(),
157 "ChainNode target node is null when retrieving last context");
158 }
159 return m_Target->get_last_context();
160}
std::shared_ptr< Node > m_Target
The downstream node that processes the source's output.
@ Runtime
General runtime operations (default fallback)
@ Nodes
DSP Generator and Filter Nodes, graph pipeline, node management.

References m_Target, MayaFlux::Journal::Nodes, and MayaFlux::Journal::Runtime.