// FIR.h: interface for the CFIR class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_FIR_H__E98EAF59_5E77_4CF1_A5B3_CB16E996C413__INCLUDED_) #define AFX_FIR_H__E98EAF59_5E77_4CF1_A5B3_CB16E996C413__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 class CFIR : public CObject // this class defineds a FIR filter with all of its variables. { public: void SetFilterDegree(int FD=0);// to set the filter degree and alocate necessary memory for its coeficients. double* hn;// an array of double numbers that contains the coeficients of this FIR filter. int FilterDegree;// the degree of this FIR filter object. CFIR(int FD=0);// the constructor of this object that alocate proper memory for coeficients. virtual ~CFIR();// the deconstructor of this object that releases the memory alocated for its variables. }; #endif // !defined(AFX_FIR_H__E98EAF59_5E77_4CF1_A5B3_CB16E996C413__INCLUDED_)