GNU Radio 3.7.2 C++ API
rational_resampler_base_ccf.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2005,2012 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 /* WARNING: this file is machine generated. Edits will be overwritten */
24 
25 #ifndef INCLUDED_FILTER_RATIONAL_RESAMPLER_BASE_CCF_H
26 #define INCLUDED_FILTER_RATIONAL_RESAMPLER_BASE_CCF_H
27 
28 #include <gnuradio/filter/api.h>
29 #include <gnuradio/block.h>
30 
31 
32 namespace gr {
33  namespace filter {
34 
35  /*!
36  * \brief Rational Resampling Polyphase FIR filter with gr_complex
37  * input, gr_complex output and float taps.
38  * \ingroup resamplers_blk
39  */
41  {
42  public:
43  // gr::filter::rational_resampler_base_ccf::sptr
45 
46  static sptr make(unsigned interpolation,
47  unsigned decimation,
48  const std::vector<float> &taps);
49 
50  virtual unsigned interpolation() const = 0;
51  virtual unsigned decimation() const = 0;
52 
53  virtual void set_taps(const std::vector<float> &taps) = 0;
54  virtual std::vector<float> taps() const = 0;
55  };
56 
57  } /* namespace filter */
58 } /* namespace gr */
59 
60 #endif /* INCLUDED_FILTER_RATIONAL_RESAMPLER_BASE_CCF_H */
Rational Resampling Polyphase FIR filter with gr_complex input, gr_complex output and float taps...
Definition: rational_resampler_base_ccf.h:40
shared_ptr documentation stub
Definition: shared_ptr_docstub.h:15
static const float taps[NSTEPS+1][NTAPS]
Definition: interpolator_taps.h:9
#define FILTER_API
Definition: gr-filter/include/gnuradio/filter/api.h:30
The abstract base class for all 'terminal' processing blocks.A signal processing flow is constructed ...
Definition: block.h:60
boost::shared_ptr< rational_resampler_base_ccf > sptr
Definition: rational_resampler_base_ccf.h:44