GNU Radio Manual and C++ API Reference  3.10.9.1
The Free & Open Software Radio Ecosystem
dvbt2_p1insertion_cc.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2015,2017 Free Software Foundation, Inc.
4  *
5  * SPDX-License-Identifier: GPL-3.0-or-later
6  *
7  */
8 
9 #ifndef INCLUDED_DTV_DVBT2_P1INSERTION_CC_H
10 #define INCLUDED_DTV_DVBT2_P1INSERTION_CC_H
11 
12 #include <gnuradio/block.h>
13 #include <gnuradio/dtv/api.h>
16 
17 namespace gr {
18 namespace dtv {
19 
20 /*!
21  * \brief Inserts a P1 symbol.
22  * \ingroup dtv
23  *
24  * Input: OFDM T2 frame. \n
25  * Output: OFDM T2 frame with P1 symbol.
26  */
27 class DTV_API dvbt2_p1insertion_cc : virtual public gr::block
28 {
29 public:
30  typedef std::shared_ptr<dvbt2_p1insertion_cc> sptr;
31 
32  /*!
33  * \brief Create a P1 symbol inserter.
34  *
35  * \param carriermode number of carriers (normal or extended).
36  * \param fftsize OFDM IFFT size.
37  * \param guardinterval OFDM ISI guard interval.
38  * \param numdatasyms number of OFDM symbols in a T2 frame.
39  * \param preamble P1 symbol preamble format.
40  * \param showlevels print peak IQ levels.
41  * \param vclip set peak IQ level threshold.
42  */
43  static sptr make(dvbt2_extended_carrier_t carriermode,
44  dvbt2_fftsize_t fftsize,
45  dvb_guardinterval_t guardinterval,
46  int numdatasyms,
47  dvbt2_preamble_t preamble,
48  dvbt2_showlevels_t showlevels,
49  float vclip);
50 };
51 
52 } // namespace dtv
53 } // namespace gr
54 
55 #endif /* INCLUDED_DTV_DVBT2_P1INSERTION_CC_H */
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:63
Inserts a P1 symbol.
Definition: dvbt2_p1insertion_cc.h:28
static sptr make(dvbt2_extended_carrier_t carriermode, dvbt2_fftsize_t fftsize, dvb_guardinterval_t guardinterval, int numdatasyms, dvbt2_preamble_t preamble, dvbt2_showlevels_t showlevels, float vclip)
Create a P1 symbol inserter.
std::shared_ptr< dvbt2_p1insertion_cc > sptr
Definition: dvbt2_p1insertion_cc.h:30
#define DTV_API
Definition: gr-dtv/include/gnuradio/dtv/api.h:18
dvbt2_fftsize_t
Definition: dvbt2_config.h:43
dvb_guardinterval_t
Definition: dvb_config.h:102
dvbt2_extended_carrier_t
Definition: dvbt2_config.h:30
dvbt2_preamble_t
Definition: dvbt2_config.h:35
dvbt2_showlevels_t
Definition: dvbt2_config.h:101
GNU Radio logging wrapper.
Definition: basic_block.h:29