GNU Radio Manual and C++ API Reference
3.8.1.0
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
* 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_MAP_H
22
#define INCLUDED_DTV_DVBT_MAP_H
23
24
#include <
gnuradio/block.h
>
25
#include <
gnuradio/dtv/api.h
>
26
#include <
gnuradio/dtv/dvb_config.h
>
27
#include <
gnuradio/dtv/dvbt_config.h
>
28
29
namespace
gr
{
30
namespace
dtv {
31
32
/*!
33
* \brief DVB-T mapper.
34
* \ingroup dtv
35
*
36
* ETSI EN 300 744 Clause 4.3.5. \n
37
* Data input format: \n
38
* 000000Y0Y1 - QPSK. \n
39
* 0000Y0Y1Y2Y3 - 16QAM. \n
40
* 00Y0Y1Y2Y3Y4Y5 - 64QAM. \n
41
* Data output format: \n
42
* complex(real(float), imag(float)).
43
*/
44
class
DTV_API
dvbt_map
:
virtual
public
block
45
{
46
public
:
47
typedef
boost::shared_ptr<dvbt_map>
sptr
;
48
49
/*!
50
* \brief Create a DVB-T mapper.
51
*
52
* \param nsize length of input stream. \n
53
* \param constellation constellation used. \n
54
* \param hierarchy hierarchy used. \n
55
* \param transmission transmission mode used. \n
56
* \param gain gain of complex output stream.
57
*/
58
static
sptr
make(
int
nsize,
59
dvb_constellation_t
constellation,
60
dvbt_hierarchy_t
hierarchy,
61
dvbt_transmission_mode_t
transmission,
62
float
gain);
63
};
64
65
}
// namespace dtv
66
}
// namespace gr
67
68
#endif
/* INCLUDED_DTV_DVBT_MAP_H */
dvbt_config.h
block.h
gr::dtv::dvbt_transmission_mode_t
dvbt_transmission_mode_t
Definition:
dvbt_config.h:33
DTV_API
#define DTV_API
Definition:
gr-dtv/include/gnuradio/dtv/api.h:30
gr::dtv::dvbt_hierarchy_t
dvbt_hierarchy_t
Definition:
dvbt_config.h:26
gr::dtv::dvbt_map
DVB-T mapper.
Definition:
dvbt_map.h:44
gr::dtv::dvbt_map::sptr
boost::shared_ptr< dvbt_map > sptr
Definition:
dvbt_map.h:47
api.h
gr::dtv::dvb_constellation_t
dvb_constellation_t
Definition:
dvb_config.h:91
gr::block
The abstract base class for all 'terminal' processing blocks.
Definition:
block.h:71
dvb_config.h
gr
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition:
basic_block.h:43
gr-dtv
include
gnuradio
dtv
dvbt_map.h
Generated by
1.8.16