List of all members.
Public Member Functions |
| | MoFilter () |
| | constructor.
|
| virtual | ~MoFilter () |
| | destructor
|
| virtual void | clear (void) |
| | clears all internal states of the filter.
|
| void | setCoefficients (long nb, SAMPLE *bCoefficients, long na, SAMPLE *aCoefficients) |
| | set filter coefficients
|
| void | setGain (SAMPLE gain) |
| | set the filter gain...
|
| SAMPLE | getGain (void) const |
| | return the current filter gain.
|
| SAMPLE | lastOut (void) const |
| | return the last computed output value
|
Protected Attributes |
| SAMPLE | m_gain |
| long | m_nB |
| long | m_nA |
| SAMPLE * | m_b |
| SAMPLE * | m_a |
| SAMPLE * | m_outputs |
| SAMPLE * | m_inputs |
| SAMPLE | m_lastValue |
Detailed Description
General digital filtering class.
Constructor & Destructor Documentation
| MoFilter::MoFilter |
( |
|
) |
[inline] |
| MoFilter::~MoFilter |
( |
|
) |
[virtual] |
Member Function Documentation
| void MoFilter::clear |
( |
void |
|
) |
[virtual] |
clears all internal states of the filter.
| SAMPLE MoFilter::getGain |
( |
void |
|
) |
const [inline] |
return the current filter gain.
| SAMPLE MoFilter::lastOut |
( |
void |
|
) |
const [inline] |
return the last computed output value
| void MoFilter::setCoefficients |
( |
long |
nb, |
|
|
SAMPLE * |
bCoefficients, |
|
|
long |
na, |
|
|
SAMPLE * |
aCoefficients | |
|
) |
| | |
| void MoFilter::setGain |
( |
SAMPLE |
gain |
) |
[inline] |
Member Data Documentation
The documentation for this class was generated from the following files: