GNU Radio Manual and C++ API Reference  3.7.9.2
The Free & Open Software Radio Ecosystem
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
dvbt_ofdm_sym_acquisition.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2015 Free Software Foundation, Inc.
4  *
5  * This is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 3, or (at your option)
8  * any later version.
9  *
10  * This software is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this software; see the file COPYING. If not, write to
17  * the Free Software Foundation, Inc., 51 Franklin Street,
18  * Boston, MA 02110-1301, USA.
19  */
20 
21 #ifndef INCLUDED_DTV_DVBT_OFDM_SYM_ACQUISITION_H
22 #define INCLUDED_DTV_DVBT_OFDM_SYM_ACQUISITION_H
23 
24 #include <gnuradio/dtv/api.h>
25 #include <gnuradio/block.h>
26 
27 namespace gr {
28  namespace dtv {
29 
30  /*!
31  * \brief OFDM symbol acquisition.
32  * \ingroup dtv
33  *
34  * Data input format: \n
35  * complex(real(float), imag(float)). \n
36  * Data output format: \n
37  * complex(real(float), imag(float)).
38  */
39  class DTV_API dvbt_ofdm_sym_acquisition : virtual public block
40  {
41  public:
42  typedef boost::shared_ptr<dvbt_ofdm_sym_acquisition> sptr;
43 
44  /*!
45  * \brief Create OFDM symbol acquisition.
46  *
47  * \param blocks Always equal to 1.\n
48  * \param fft_length FFT size, 2048 or 8192. \n
49  * \param occupied_tones Active OFDM carriers, 1705 or 6817. \n
50  * \param cp_length Length of Cyclic Prefix (FFT size / 32, 16, 8 or 4). \n
51  * \param snr Initial Signal to Noise Ratio.
52  */
53  static sptr make(int blocks, int fft_length, int occupied_tones, int cp_length, float snr);
54  };
55 
56  } // namespace dtv
57 } // namespace gr
58 
59 #endif /* INCLUDED_DTV_DVBT_OFDM_SYM_ACQUISITION_H */
60 
#define DTV_API
Definition: gr-dtv/include/gnuradio/dtv/api.h:30
OFDM symbol acquisition.Data input format: complex(real(float), imag(float)). Data output format: ...
Definition: dvbt_ofdm_sym_acquisition.h:39
Include this header to use the message passing features.
Definition: logger.h:131
boost::shared_ptr< dvbt_ofdm_sym_acquisition > sptr
Definition: dvbt_ofdm_sym_acquisition.h:42
The abstract base class for all 'terminal' processing blocks.A signal processing flow is constructed ...
Definition: block.h:60