GNU Radio Manual and C++ API Reference  3.10.9.1
The Free & Open Software Radio Ecosystem
dvbt_ofdm_sym_acquisition.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2015 Free Software Foundation, Inc.
4  *
5  * SPDX-License-Identifier: GPL-3.0-or-later
6  *
7  */
8 
9 #ifndef INCLUDED_DTV_DVBT_OFDM_SYM_ACQUISITION_H
10 #define INCLUDED_DTV_DVBT_OFDM_SYM_ACQUISITION_H
11 
12 #include <gnuradio/block.h>
13 #include <gnuradio/dtv/api.h>
14 
15 namespace gr {
16 namespace dtv {
17 
18 /*!
19  * \brief OFDM symbol acquisition.
20  * \ingroup dtv
21  *
22  * Data input format: \n
23  * complex(real(float), imag(float)). \n
24  * Data output format: \n
25  * complex(real(float), imag(float)).
26  */
27 class DTV_API dvbt_ofdm_sym_acquisition : virtual public block
28 {
29 public:
30  typedef std::shared_ptr<dvbt_ofdm_sym_acquisition> sptr;
31 
32  /*!
33  * \brief Create OFDM symbol acquisition.
34  *
35  * \param blocks Always equal to 1.\n
36  * \param fft_length FFT size, 2048 or 8192. \n
37  * \param occupied_tones Active OFDM carriers, 1705 or 6817. \n
38  * \param cp_length Length of Cyclic Prefix (FFT size / 32, 16, 8 or 4). \n
39  * \param snr Initial Signal to Noise Ratio.
40  */
41  static sptr
42  make(int blocks, int fft_length, int occupied_tones, int cp_length, float snr);
43 };
44 
45 } // namespace dtv
46 } // namespace gr
47 
48 #endif /* INCLUDED_DTV_DVBT_OFDM_SYM_ACQUISITION_H */
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:63
OFDM symbol acquisition.
Definition: dvbt_ofdm_sym_acquisition.h:28
std::shared_ptr< dvbt_ofdm_sym_acquisition > sptr
Definition: dvbt_ofdm_sym_acquisition.h:30
static sptr make(int blocks, int fft_length, int occupied_tones, int cp_length, float snr)
Create OFDM symbol acquisition.
#define DTV_API
Definition: gr-dtv/include/gnuradio/dtv/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29