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

◆ on_detach()

void MayaFlux::Buffers::FeedbackProcessor::on_detach ( std::shared_ptr< Buffer buffer)
overridevirtual

Called when this processor is detached from a buffer.

Parameters
bufferBuffer this processor is being detached from

Cleans up any buffer-specific state.

Reimplemented from MayaFlux::Buffers::BufferProcessor.

Definition at line 19 of file FeedbackBuffer.cpp.

20{
22 m_previous_buffer.clear();
23 }
24}
bool m_using_internal_buffer
Flag indicating whether to use the buffer's internal previous state.
std::vector< double > m_previous_buffer
Storage for the previous system state.

References m_previous_buffer, and m_using_internal_buffer.