ASPiK SDK
|
The WdfResistor object implements the reflection coefficient and signal flow through a WDF simulated resistor. More...
#include <fxobjects.h>
Public Member Functions | |
WdfResistor (double _componentValue) | |
void | setSampleRate (double _sampleRate) |
virtual double | getComponentResistance () |
virtual double | getComponentConductance () |
virtual double | getComponentValue () |
virtual void | setComponentValue (double _componentValue) |
virtual void | updateComponentResistance () |
virtual void | reset (double _sampleRate) |
virtual void | setInput (double in) |
virtual double | getOutput () |
virtual double | getOutput1 () |
virtual double | getOutput2 () |
virtual double | getOutput3 () |
virtual void | setInput1 (double _in1) |
virtual void | setInput2 (double _in2) |
virtual void | setInput3 (double _in3) |
Public Member Functions inherited from IComponentAdaptor | |
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 () |
The WdfResistor object implements the reflection coefficient and signal flow through a WDF simulated resistor.
|
inlinevirtual |
get component's value as a conducatance (or admittance)
Reimplemented from IComponentAdaptor.
|
inlinevirtual |
get component's value as a resistance
Reimplemented from IComponentAdaptor.
|
inlinevirtual |
get the component value
Reimplemented from IComponentAdaptor.
|
inlinevirtual |
get output value; NOTE: a WDF resistor produces no reflected output
Reimplemented from IComponentAdaptor.
|
inlinevirtual |
get output1 value; only one resistor output (not used)
Implements IComponentAdaptor.
|
inlinevirtual |
get output2 value; only one resistor output (not used)
Implements IComponentAdaptor.
|
inlinevirtual |
get output3 value; only one resistor output (not used)
Implements IComponentAdaptor.
|
inlinevirtual |
reset the component; clear registers
Reimplemented from IComponentAdaptor.
|
inlinevirtual |
set the component value
Reimplemented from IComponentAdaptor.
|
inlinevirtual |
set input value into component; NOTE: resistor is dead-end energy sink so this function does nothing
Reimplemented from IComponentAdaptor.
|
inlinevirtual |
set input1 value; not used for components
Implements IComponentAdaptor.
|
inlinevirtual |
set input2 value; not used for components
Implements IComponentAdaptor.
|
inlinevirtual |
set input3 value; not used for components
Implements IComponentAdaptor.
|
inline |
set sample rate and update component
|
inlinevirtual |
change the resistance of component
Reimplemented from IComponentAdaptor.