JUCE: dsp::ProcessorWrapper< ProcessorType > Struct Template Reference

JUCE

Public Member Functions | Public Attributes | List of all members
dsp::ProcessorWrapper< ProcessorType > Struct Template Reference
juce_dsp » processors

Wraps an instance of a given processor class, and exposes it through the ProcessorBase interface. More...

`#include <juce_ProcessorWrapper.h>`

Inheritance diagram for dsp::ProcessorWrapper< ProcessorType >:

## Public Member Functions
void | prepare (const ProcessSpec &spec) override
void | process (const ProcessContextReplacing< float > &context) override
void | reset () override
Public Member Functions inherited from dsp::ProcessorBase
| ProcessorBase ()=default
virtual | ~ProcessorBase ()=default
virtual void | prepare (const ProcessSpec &)=0
virtual void | process (const ProcessContextReplacing< float > &)=0
virtual void | reset ()=0

## Public Attributes
ProcessorType | processor

## Detailed Description

template<typename ProcessorType>
struct dsp::ProcessorWrapper< ProcessorType >

Wraps an instance of a given processor class, and exposes it through the ProcessorBase interface.

See also
  ProcessorBase

## Member Function Documentation

## ◆ prepare()

template<typename ProcessorType >

void dsp::ProcessorWrapper< ProcessorType >::prepare | ( | const ProcessSpec & | spec | ) |
| overridevirtual

Implements dsp::ProcessorBase.

References dsp::ProcessorWrapper< ProcessorType >::processor.

## ◆ process()

template<typename ProcessorType >

void dsp::ProcessorWrapper< ProcessorType >::process | ( | const ProcessContextReplacing< float > & | context | ) |
| overridevirtual

Implements dsp::ProcessorBase.

References dsp::ProcessorWrapper< ProcessorType >::processor.

## ◆ reset()

template<typename ProcessorType >

void dsp::ProcessorWrapper< ProcessorType >::reset | ( |  | ) |
| overridevirtual

Implements dsp::ProcessorBase.

References dsp::ProcessorWrapper< ProcessorType >::processor.

## Member Data Documentation

## ◆ processor

template<typename ProcessorType >

ProcessorType dsp::ProcessorWrapper< ProcessorType >::processor

Referenced by dsp::ProcessorWrapper< ProcessorType >::prepare(), dsp::ProcessorWrapper< ProcessorType >::process(), and dsp::ProcessorWrapper< ProcessorType >::reset().

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

- juce_ProcessorWrapper.h