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

◆ save_state()

void MayaFlux::Nodes::Generator::Polynomial::save_state ( )
overridevirtual

Saves the node's current state for later restoration Recursively cascades through all connected modulator nodes Protected - only NodeSourceProcessor and NodeBuffer can call.

Implements MayaFlux::Nodes::Node.

Definition at line 256 of file Polynomial.cpp.

257{
262
263 if (m_input_node)
264 m_input_node->save_state();
265
266 m_state_saved = true;
267}
std::vector< double > m_saved_ring_data
std::shared_ptr< Node > m_input_node
Input node for processing.
bool m_state_saved
tracks if the node's state has been saved by a snapshot operation
Definition Node.hpp:426
double m_last_output
The most recent sample value generated by this oscillator.
Definition Node.hpp:374

References m_input_node, MayaFlux::Nodes::Node::m_last_output, m_ring_count, m_ring_data, m_ring_head, m_saved_last_output, m_saved_ring_count, m_saved_ring_data, m_saved_ring_head, and MayaFlux::Nodes::Node::m_state_saved.