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

◆ update_context()

void MayaFlux::Nodes::StreamReaderNode::update_context ( double  value)
overrideprotectedvirtual

Updates the context object with the current node state.

Parameters
valueThe current sample value

This method is responsible for updating the NodeContext object with the latest state information from the node. It is called internally whenever a new output value is produced, ensuring that the context reflects the current state of the node for use in callbacks.

Implements MayaFlux::Nodes::Node.

Definition at line 84 of file StreamReaderNode.cpp.

85{
86 m_context.value = value;
87}
double value
Current sample value.
Definition Node.hpp:40

References m_context, and MayaFlux::Nodes::NodeContext::value.

Referenced by notify_tick().

+ Here is the caller graph for this function: