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

#include <dirform1.h>

Inheritance diagram for DirectFormFir:
FilterImplementationAdaptiveFirLmsFilterRlsFilter

Public Member Functions

 DirectFormFir (int num_taps, double *coeff, logical quan_enab, long coeff_quan_factor, long input_quan_factor)
 
double ProcessSample (double input_val)
 
long ProcessSample (long input_val)
 
int GetNumTaps (void)
 
- Public Member Functions inherited from FilterImplementation
 FilterImplementation ()
 

Protected Attributes

int Num_Taps
 
long * Quan_In_Buf
 
long * Quan_Coeff
 
double * Unquan_In_Buf
 
double * Unquan_Coeff
 
logical Quan_Enab
 
int Write_Indx
 
long Input_Quan_Factor
 
double Output_Quan_Factor
 
long Long_Out_Quan_Factor
 

Detailed Description

Definition at line 11 of file dirform1.h.

Constructor & Destructor Documentation

DirectFormFir::DirectFormFir(int num_taps,
double * coeff,
logical quan_enab,
long coeff_quan_factor,
long input_quan_factor 
)

Definition at line 12 of file dirform1.cpp.

Member Function Documentation

int DirectFormFir::GetNumTaps(void )
virtual

Implements FilterImplementation.

Definition at line 136 of file dirform1.cpp.

double DirectFormFir::ProcessSample(double input_val)
virtual

Implements FilterImplementation.

Definition at line 55 of file dirform1.cpp.

long DirectFormFir::ProcessSample(long input_val)
virtual

Implements FilterImplementation.

Definition at line 108 of file dirform1.cpp.

Member Data Documentation

long DirectFormFir::Input_Quan_Factor
protected

Definition at line 28 of file dirform1.h.

long DirectFormFir::Long_Out_Quan_Factor
protected

Definition at line 30 of file dirform1.h.

int DirectFormFir::Num_Taps
protected

Definition at line 21 of file dirform1.h.

double DirectFormFir::Output_Quan_Factor
protected

Definition at line 29 of file dirform1.h.

long* DirectFormFir::Quan_Coeff
protected

Definition at line 23 of file dirform1.h.

logical DirectFormFir::Quan_Enab
protected

Definition at line 26 of file dirform1.h.

long* DirectFormFir::Quan_In_Buf
protected

Definition at line 22 of file dirform1.h.

double* DirectFormFir::Unquan_Coeff
protected

Definition at line 25 of file dirform1.h.

double* DirectFormFir::Unquan_In_Buf
protected

Definition at line 24 of file dirform1.h.

int DirectFormFir::Write_Indx
protected

Definition at line 27 of file dirform1.h.


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