JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::dsp::ProcessorBase Struct Referenceabstract

Acts as a polymorphic base class for processors. More...

#include <juce_ProcessorWrapper.h>

Inheritance diagram for juce::dsp::ProcessorBase:

Public Member Functions

 ProcessorBase ()=default
 
virtual ~ProcessorBase ()=default
 
virtual void prepare (const ProcessSpec &)=0
 
virtual void process (const ProcessContextReplacing< float > &)=0
 
virtual void reset ()=0
 

Detailed Description

Acts as a polymorphic base class for processors.

This exposes the same set of methods that a processor must implement as virtual methods, so that you can use the ProcessorWrapper class to wrap an instance of a subclass, and then pass that around using ProcessorBase as a base class.

See also
ProcessorWrapper

{DSP}

Constructor & Destructor Documentation

◆ ProcessorBase()

juce::dsp::ProcessorBase::ProcessorBase ( )
default

◆ ~ProcessorBase()

virtual juce::dsp::ProcessorBase::~ProcessorBase ( )
virtualdefault

Member Function Documentation

◆ prepare()

virtual void juce::dsp::ProcessorBase::prepare ( const ProcessSpec )
pure virtual

◆ process()

virtual void juce::dsp::ProcessorBase::process ( const ProcessContextReplacing< float > &  )
pure virtual

◆ reset()

virtual void juce::dsp::ProcessorBase::reset ( )
pure virtual

The documentation for this struct was generated from the following file: