RTXI  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
MultirateLowpass Class Reference

#include <mr_lpf.h>

Inheritance diagram for MultirateLowpass:
FilterImplementation

Public Member Functions

 MultirateLowpass (FirFilterDesign *dec_proto_filt, FirFilterDesign *int_proto_filt, int decim_rate, logical quan_enab, long input_quant_factor, long coeff_quant_factor)
 
 ~MultirateLowpass ()
 
double ProcessSample (double input_val)
 
long ProcessSample (long input_val)
 
int GetNumTaps (void)
 
- Public Member Functions inherited from FilterImplementation
 FilterImplementation ()
 

Private Attributes

int Dec_Rate
 
int Dec_Rho
 
FilterImplementation ** Dec_Filt
 
int Int_Rate
 
int Int_Rho
 
FilterImplementation ** Int_Filt
 
double Dec_Out
 
double Int_In
 
long Quan_Dec_Out
 
long Quan_Int_In
 
logical Quan_Enab
 
int Num_Taps
 

Detailed Description

Definition at line 12 of file mr_lpf.h.

Constructor & Destructor Documentation

MultirateLowpass::MultirateLowpass(FirFilterDesigndec_proto_filt,
FirFilterDesignint_proto_filt,
int decim_rate,
logical quan_enab,
long input_quant_factor,
long coeff_quant_factor 
)

Definition at line 14 of file mr_lpf.cpp.

MultirateLowpass::~MultirateLowpass(void )

Definition at line 65 of file mr_lpf.cpp.

Member Function Documentation

int MultirateLowpass::GetNumTaps(void )
virtual

Implements FilterImplementation.

Definition at line 128 of file mr_lpf.cpp.

double MultirateLowpass::ProcessSample(double input_val)
virtual

Implements FilterImplementation.

Definition at line 77 of file mr_lpf.cpp.

long MultirateLowpass::ProcessSample(long input_val)
virtual

Implements FilterImplementation.

Definition at line 102 of file mr_lpf.cpp.

Member Data Documentation

FilterImplementation** MultirateLowpass::Dec_Filt
private

Definition at line 27 of file mr_lpf.h.

double MultirateLowpass::Dec_Out
private

Definition at line 33 of file mr_lpf.h.

int MultirateLowpass::Dec_Rate
private

Definition at line 25 of file mr_lpf.h.

int MultirateLowpass::Dec_Rho
private

Definition at line 26 of file mr_lpf.h.

FilterImplementation** MultirateLowpass::Int_Filt
private

Definition at line 31 of file mr_lpf.h.

double MultirateLowpass::Int_In
private

Definition at line 34 of file mr_lpf.h.

int MultirateLowpass::Int_Rate
private

Definition at line 29 of file mr_lpf.h.

int MultirateLowpass::Int_Rho
private

Definition at line 30 of file mr_lpf.h.

int MultirateLowpass::Num_Taps
private

Definition at line 38 of file mr_lpf.h.

long MultirateLowpass::Quan_Dec_Out
private

Definition at line 35 of file mr_lpf.h.

logical MultirateLowpass::Quan_Enab
private

Definition at line 37 of file mr_lpf.h.

long MultirateLowpass::Quan_Int_In
private

Definition at line 36 of file mr_lpf.h.


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