MayaFlux 0.3.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 233 of file Polynomial.cpp.

234{
237
238 if (m_input_node)
239 m_input_node->save_state();
240
241 m_state_saved = true;
242}
std::vector< T > save_state() const
Save current state for later restoration.
std::vector< double > m_saved_history_state
Saved state of the history buffer.
Memory::HistoryBuffer< double > m_history
Ring buffer for input/output history.
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:429
double m_last_output
The most recent sample value generated by this oscillator.
Definition Node.hpp:377

References m_history, m_input_node, MayaFlux::Nodes::Node::m_last_output, m_saved_history_state, m_saved_last_output, MayaFlux::Nodes::Node::m_state_saved, and MayaFlux::Memory::HistoryBuffer< T >::save_state().

+ Here is the call graph for this function: