ASPiK SDK
Loading...
Searching...
No Matches
IComponentAdaptor Class Referenceabstract

Use this interface for objects in the WDF Ladder Filter library; see book for more information. More...

#include <fxobjects.h>

Inheritance diagram for IComponentAdaptor:
WdfAdaptorBase WdfCapacitor WdfInductor WdfParallelLC WdfParallelRC WdfParallelRL WdfResistor WdfSeriesLC WdfSeriesRC WdfSeriesRL

Public Member Functions

virtual void initialize (double _R1)
 
virtual void initializeAdaptorChain ()
 
virtual void setInput (double _in)
 
virtual double getOutput ()
 
virtual void setInput1 (double _in1)=0
 
virtual void setInput2 (double _in2)=0
 
virtual void setInput3 (double _in3)=0
 
virtual double getOutput1 ()=0
 
virtual double getOutput2 ()=0
 
virtual double getOutput3 ()=0
 
virtual void reset (double _sampleRate)
 
virtual double getComponentResistance ()
 
virtual double getComponentConductance ()
 
virtual void updateComponentResistance ()
 
virtual void setComponentValue (double _componentValue)
 
virtual void setComponentValue_LC (double componentValue_L, double componentValue_C)
 
virtual void setComponentValue_RL (double componentValue_R, double componentValue_L)
 
virtual void setComponentValue_RC (double componentValue_R, double componentValue_C)
 
virtual double getComponentValue ()
 

Detailed Description

Use this interface for objects in the WDF Ladder Filter library; see book for more information.

Author
Will Pirkle http://www.willpirkle.com
Remarks
This object is included in Designing Audio Effects Plugins in C++ 2nd Ed. by Will Pirkle
Version
Revision : 1.0
Date
Date : 2018 / 09 / 7

Member Function Documentation

◆ getComponentConductance()

virtual double IComponentAdaptor::getComponentConductance ( )
inlinevirtual

get the commponent conductance from the attached object at Port3

Reimplemented in WdfResistor, WdfCapacitor, WdfInductor, WdfSeriesLC, WdfParallelLC, WdfSeriesRL, WdfParallelRL, WdfSeriesRC, and WdfParallelRC.

◆ getComponentResistance()

virtual double IComponentAdaptor::getComponentResistance ( )
inlinevirtual

get the commponent resistance from the attached object at Port3

Reimplemented in WdfResistor, WdfCapacitor, WdfInductor, WdfSeriesLC, WdfParallelLC, WdfSeriesRL, WdfParallelRL, WdfSeriesRC, and WdfParallelRC.

◆ getComponentValue()

virtual double IComponentAdaptor::getComponentValue ( )
inlinevirtual

get a component value

Reimplemented in WdfResistor, WdfCapacitor, and WdfInductor.

◆ getOutput()

virtual double IComponentAdaptor::getOutput ( )
inlinevirtual

get output value from component port

Reimplemented in WdfResistor, WdfCapacitor, WdfInductor, WdfSeriesLC, WdfParallelLC, WdfSeriesRL, WdfParallelRL, WdfSeriesRC, and WdfParallelRC.

◆ getOutput1()

virtual double IComponentAdaptor::getOutput1 ( )
pure virtual

◆ getOutput2()

virtual double IComponentAdaptor::getOutput2 ( )
pure virtual

◆ getOutput3()

virtual double IComponentAdaptor::getOutput3 ( )
pure virtual

◆ initialize()

virtual void IComponentAdaptor::initialize ( double  _R1)
inlinevirtual

initialize with source resistor R1

Reimplemented in WdfSeriesAdaptor, WdfSeriesTerminatedAdaptor, WdfParallelAdaptor, and WdfParallelTerminatedAdaptor.

◆ initializeAdaptorChain()

virtual void IComponentAdaptor::initializeAdaptorChain ( )
inlinevirtual

initialize all downstream adaptors in the chain

Reimplemented in WdfAdaptorBase.

◆ reset()

virtual void IComponentAdaptor::reset ( double  _sampleRate)
inlinevirtual

reset the object with new sample rate

Reimplemented in WdfResistor, WdfCapacitor, WdfInductor, WdfSeriesLC, WdfParallelLC, WdfSeriesRL, WdfParallelRL, WdfSeriesRC, WdfParallelRC, and WdfAdaptorBase.

◆ setComponentValue()

virtual void IComponentAdaptor::setComponentValue ( double  _componentValue)
inlinevirtual

set an individual component value (may be R, L, or C

Reimplemented in WdfResistor, WdfCapacitor, WdfInductor, and WdfAdaptorBase.

◆ setComponentValue_LC()

virtual void IComponentAdaptor::setComponentValue_LC ( double  componentValue_L,
double  componentValue_C 
)
inlinevirtual

set LC combined values

Reimplemented in WdfSeriesLC, WdfParallelLC, and WdfAdaptorBase.

◆ setComponentValue_RC()

virtual void IComponentAdaptor::setComponentValue_RC ( double  componentValue_R,
double  componentValue_C 
)
inlinevirtual

set RC combined values

Reimplemented in WdfSeriesRC, WdfParallelRC, and WdfAdaptorBase.

◆ setComponentValue_RL()

virtual void IComponentAdaptor::setComponentValue_RL ( double  componentValue_R,
double  componentValue_L 
)
inlinevirtual

set RL combined values

Reimplemented in WdfSeriesRL, WdfParallelRL, and WdfAdaptorBase.

◆ setInput()

virtual void IComponentAdaptor::setInput ( double  _in)
inlinevirtual

set input value into component port

Reimplemented in WdfResistor, WdfCapacitor, WdfInductor, WdfSeriesLC, WdfParallelLC, WdfSeriesRL, WdfParallelRL, WdfSeriesRC, and WdfParallelRC.

◆ setInput1()

virtual void IComponentAdaptor::setInput1 ( double  _in1)
pure virtual

◆ setInput2()

virtual void IComponentAdaptor::setInput2 ( double  _in2)
pure virtual

◆ setInput3()

virtual void IComponentAdaptor::setInput3 ( double  _in3)
pure virtual

◆ updateComponentResistance()

virtual void IComponentAdaptor::updateComponentResistance ( )
inlinevirtual

update the commponent resistance at Port3

Reimplemented in WdfResistor, WdfCapacitor, WdfInductor, WdfSeriesLC, WdfParallelLC, WdfSeriesRL, WdfParallelRL, WdfSeriesRC, and WdfParallelRC.


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