dsp::ProcessorWrapper< ProcessorType > Struct Template Reference

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

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
 

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.

◆ process()

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

Implements dsp::ProcessorBase.

◆ reset()

template<typename ProcessorType >
void dsp::ProcessorWrapper< ProcessorType >::reset ( )
overridevirtual

Implements dsp::ProcessorBase.

Member Data Documentation

◆ processor

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

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