dsp::ProcessorBase Struct Referenceabstract
juce_dsp » processors

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

Inheritance diagram for 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

## Constructor & Destructor Documentation

## ProcessorBase()

dsp::ProcessorBase::ProcessorBase | ( |  | ) |

default

## ~ProcessorBase()

virtual dsp::ProcessorBase::~ProcessorBase | ( |  | ) |

virtual default

## Member Function Documentation

## prepare()

virtual void dsp::ProcessorBase::prepare | ( | const ProcessSpec & |  | ) |

pure virtual

Implemented in dsp::ProcessorWrapper< ProcessorType >.

## process()

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

pure virtual

Implemented in dsp::ProcessorWrapper< ProcessorType >.

## reset()

virtual void dsp::ProcessorBase::reset | ( |  | ) |

pure virtual

Implemented in dsp::ProcessorWrapper< ProcessorType >.

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

- juce_ProcessorWrapper.h