GNU Radio Manual and C++ API Reference  v3.9.2.0-89-gb7c7001e
The Free & Open Software Radio Ecosystem
mmse_interpolator_cc.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2004,2007,2012 Free Software Foundation, Inc.
4  *
5  * This file is part of GNU Radio
6  *
7  * SPDX-License-Identifier: GPL-3.0-or-later
8  *
9  */
10 
11 #ifndef INCLUDED_MMSE_INTERPOLATOR_CC_H
12 #define INCLUDED_MMSE_INTERPOLATOR_CC_H
13 
14 #include <gnuradio/block.h>
15 #include <gnuradio/filter/api.h>
16 
17 namespace gr {
18 namespace filter {
19 
20 /*!
21  * \brief Interpolating MMSE filter with complex input, complex output
22  * \ingroup resamplers_blk
23  */
24 class FILTER_API mmse_interpolator_cc : virtual public block
25 {
26 public:
27  // gr::filter::mmse_interpolator_cc::sptr
28  typedef std::shared_ptr<mmse_interpolator_cc> sptr;
29 
30  /*!
31  * \brief Build the interpolating MMSE filter (complex input, complex output)
32  *
33  * \param phase_shift The phase shift of the output signal to the input
34  * \param interp_ratio The interpolation ratio = input_rate / output_rate.
35  */
36  static sptr make(float phase_shift, float interp_ratio);
37 
38  virtual float mu() const = 0;
39  virtual float interp_ratio() const = 0;
40  virtual void set_mu(float mu) = 0;
41  virtual void set_interp_ratio(float interp_ratio) = 0;
42 };
43 
44 } /* namespace filter */
45 } /* namespace gr */
46 
47 #endif /* INCLUDED_MMSE_INTERPOLATOR_FF_H */
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:60
Interpolating MMSE filter with complex input, complex output.
Definition: mmse_interpolator_cc.h:25
static sptr make(float phase_shift, float interp_ratio)
Build the interpolating MMSE filter (complex input, complex output)
virtual float mu() const =0
virtual void set_interp_ratio(float interp_ratio)=0
virtual float interp_ratio() const =0
virtual void set_mu(float mu)=0
std::shared_ptr< mmse_interpolator_cc > sptr
Definition: mmse_interpolator_cc.h:28
#define FILTER_API
Definition: gr-filter/include/gnuradio/filter/api.h:18
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:29