root / gnuradio-core / src / lib / filter / gr_fft_filter_fff.i @ 8e8335e2
History | View | Annotate | Download (1.3 kB)
| 1 | /* -*- c++ -*- */ |
|---|---|
| 2 | /* |
| 3 | * Copyright 2004,2005 Free Software Foundation, Inc. |
| 4 | * |
| 5 | * This file is part of GNU Radio |
| 6 | * |
| 7 | * GNU Radio is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by |
| 9 | * the Free Software Foundation; either version 3, or (at your option) |
| 10 | * any later version. |
| 11 | * |
| 12 | * GNU Radio is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | * GNU General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License |
| 18 | * along with GNU Radio; see the file COPYING. If not, write to |
| 19 | * the Free Software Foundation, Inc., 51 Franklin Street, |
| 20 | * Boston, MA 02110-1301, USA. |
| 21 | */ |
| 22 | |
| 23 | GR_SWIG_BLOCK_MAGIC(gr,fft_filter_fff) |
| 24 | |
| 25 | gr_fft_filter_fff_sptr |
| 26 | gr_make_fft_filter_fff (int decimation, |
| 27 | const std::vector<float> &taps, |
| 28 | int nthreads=1 |
| 29 | ) throw (std::invalid_argument); |
| 30 | |
| 31 | class gr_fft_filter_fff : public gr_sync_decimator |
| 32 | {
|
| 33 | private: |
| 34 | gr_fft_filter_fff (int decimation, const std::vector<float> &taps, |
| 35 | int nthreads=1); |
| 36 | |
| 37 | public: |
| 38 | ~gr_fft_filter_fff (); |
| 39 | |
| 40 | void set_taps (const std::vector<float> &taps); |
| 41 | std::vector<float> taps () const; |
| 42 | void set_nthreads(int n); |
| 43 | int nthreads() const; |
| 44 | |
| 45 | }; |