Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

GrFreqXlatingFIRfilterFCC.h

Go to the documentation of this file.
00001 /* -*- c++ -*- */ 00002 /* 00003 * Copyright 2002 Free Software Foundation, Inc. 00004 * 00005 * This file is part of GNU Radio 00006 * 00007 * GNU Radio is free software; you can redistribute it and/or modify 00008 * it under the terms of the GNU General Public License as published by 00009 * the Free Software Foundation; either version 2, or (at your option) 00010 * any later version. 00011 * 00012 * GNU Radio is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 * GNU General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU General Public License 00018 * along with GNU Radio; see the file COPYING. If not, write to 00019 * the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00020 * Boston, MA 02111-1307, USA. 00021 */ 00022 00023 /* 00024 * WARNING: This file is automatically generated by 00025 * generate_GrFreqXlatingFIRfilterXXX.py Any changes made to this file 00026 * will be overwritten. 00027 */ 00028 00029 #ifndef _GrFreqXlatingFIRfilterFCC_H_ 00030 #define _GrFreqXlatingFIRfilterFCC_H_ 00031 00032 #include <VrDecimatingSigProc.h> 00033 #include <VrComplex.h> 00034 #include <gr_fir_builderC.h> 00035 #include <gr_rotator.h> 00036 #include <vector> 00037 00038 class gr_fir_FCC; 00039 00053 class GrFreqXlatingFIRfilterFCC : public VrDecimatingSigProc<float, VrComplex> 00054 { 00055 public: 00061 GrFreqXlatingFIRfilterFCC (int decimation_factor, 00062 const std::vector<VrComplex> &taps, 00063 float center_freq); 00064 00074 GrFreqXlatingFIRfilterFCC (int decimation_factor, 00075 gr_fir_builderC *builder, 00076 float center_freq); 00077 00078 virtual ~GrFreqXlatingFIRfilterFCC (); 00079 00080 virtual const char *name () { return "GrFreqXlatingFIRfilterFCC"; } 00081 virtual void initialize (); 00082 virtual int work (VrSampleRange output, void *o[], 00083 VrSampleRange inputs[], void *i[]); 00084 00085 void setCenterFreq (float center_freq); 00086 void setTaps (const std::vector<VrComplex> &taps); 00087 00088 protected: 00089 gr_fir_builderC *d_builder; 00090 std::vector<VrComplex> d_proto_taps; 00091 gr_fir_FCC *d_composite_fir; 00092 gr_rotator d_r; 00093 float d_center_freq; 00094 int d_updated; 00095 00096 virtual void build_composite_fir (); 00097 }; 00098 00099 #endif /* _GrFreqXlatingFIRfilterFCC_H_ */

Generated on Wed Aug 4 02:22:04 2004 for GNU Radio by doxygen 1.3.8