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

◆ restore_state()

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

Restores the node's state from the last save Recursively cascades through all connected modulator nodes Protected - only NodeSourceProcessor and NodeBuffer can call.

Implements MayaFlux::Nodes::Node.

Definition at line 269 of file Polynomial.cpp.

270{
275
276 if (m_input_node)
277 m_input_node->restore_state();
278
279 m_state_saved = false;
280}
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.