The Inspector (GNU Radio module gr-inspector)
ofdm_bouzegzi_c.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2016 Free Software Foundation, Inc.
4  *
5  * This file is part of GNU Radio
6  *
7  * This 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  * This software 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 this software; 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 
24 #ifndef INCLUDED_INSPECTOR_OFDM_BOUZEGZI_C_H
25 #define INCLUDED_INSPECTOR_OFDM_BOUZEGZI_C_H
26 
27 #include <inspector/api.h>
28 #include <gnuradio/sync_block.h>
29 
30 namespace gr {
31  namespace inspector {
32 
33  /*!
34  * \brief OFDM parameter estimator (Bouzegzi algorithm)
35  * \ingroup inspector
36  *
37  * \details
38  * This block was not further developed during GSoC since
39  * real-time estimation was not possible.
40  */
41  class INSPECTOR_API ofdm_bouzegzi_c : virtual public gr::sync_block
42  {
43  public:
44  typedef boost::shared_ptr<ofdm_bouzegzi_c> sptr;
45 
46  /*!
47  * \brief Return a shared_ptr to a new instance of inspector::ofdm_bouzegzi_c.
48  *
49  * To avoid accidental use of raw pointers, inspector::ofdm_bouzegzi_c's
50  * constructor is in a private implementation
51  * class. inspector::ofdm_bouzegzi_c::make is the public interface for
52  * creating new instances.
53  */
54  static sptr make(double samp_rate, int Nb,
55  const std::vector<int> &alpha,
56  const std::vector<int> &beta);
57  };
58 
59  } // namespace inspector
60 } // namespace gr
61 
62 #endif /* INCLUDED_INSPECTOR_ofdm_bouzegzi_C_H */
OFDM parameter estimator (Bouzegzi algorithm)
Definition: ofdm_bouzegzi_c.h:41
boost::shared_ptr< ofdm_bouzegzi_c > sptr
Definition: ofdm_bouzegzi_c.h:44
#define INSPECTOR_API
Definition: api.h:30
Definition: ofdm_bouzegzi_c.h:30