GNU Radio Manual and C++ API Reference  3.10.9.1
The Free & Open Software Radio Ecosystem
dvbt_map.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_MAP_H
10 #define INCLUDED_DTV_DVBT_MAP_H
11 
12 #include <gnuradio/block.h>
13 #include <gnuradio/dtv/api.h>
16 
17 namespace gr {
18 namespace dtv {
19 
20 /*!
21  * \brief DVB-T mapper.
22  * \ingroup dtv
23  *
24  * ETSI EN 300 744 Clause 4.3.5. \n
25  * Data input format: \n
26  * 000000Y0Y1 - QPSK. \n
27  * 0000Y0Y1Y2Y3 - 16QAM. \n
28  * 00Y0Y1Y2Y3Y4Y5 - 64QAM. \n
29  * Data output format: \n
30  * complex(real(float), imag(float)).
31  */
32 class DTV_API dvbt_map : virtual public block
33 {
34 public:
35  typedef std::shared_ptr<dvbt_map> sptr;
36 
37  /*!
38  * \brief Create a DVB-T mapper.
39  *
40  * \param nsize length of input stream. \n
41  * \param constellation constellation used. \n
42  * \param hierarchy hierarchy used. \n
43  * \param transmission transmission mode used. \n
44  * \param gain gain of complex output stream.
45  */
46  static sptr make(int nsize,
47  dvb_constellation_t constellation,
48  dvbt_hierarchy_t hierarchy,
49  dvbt_transmission_mode_t transmission,
50  float gain);
51 };
52 
53 } // namespace dtv
54 } // namespace gr
55 
56 #endif /* INCLUDED_DTV_DVBT_MAP_H */
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:63
DVB-T mapper.
Definition: dvbt_map.h:33
std::shared_ptr< dvbt_map > sptr
Definition: dvbt_map.h:35
static sptr make(int nsize, dvb_constellation_t constellation, dvbt_hierarchy_t hierarchy, dvbt_transmission_mode_t transmission, float gain)
Create a DVB-T mapper.
#define DTV_API
Definition: gr-dtv/include/gnuradio/dtv/api.h:18
dvbt_hierarchy_t
Definition: dvbt_config.h:14
dvbt_transmission_mode_t
Definition: dvbt_config.h:21
dvb_constellation_t
Definition: dvb_config.h:79
GNU Radio logging wrapper.
Definition: basic_block.h:29