GNU Radio Manual and C++ API Reference 3.8.5.0
The Free & Open Software Radio Ecosystem
 
Loading...
Searching...
No Matches
dvbt_reference_signals.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_REFERENCE_SIGNALS_H
22#define INCLUDED_DTV_DVBT_REFERENCE_SIGNALS_H
23
24#include <gnuradio/block.h>
25#include <gnuradio/dtv/api.h>
28
29namespace gr {
30namespace dtv {
31
32/*!
33 * \brief Reference signals generator.
34 * \ingroup dtv
35 *
36 * ETSI EN 300 744 Clause 4.5 \n
37 * Data input format: \n
38 * complex(real(float), imag(float)). \n
39 * Data output format: \n
40 * complex(real(float), imag(float)).
41 */
42class DTV_API dvbt_reference_signals : virtual public block
43{
44public:
45 typedef boost::shared_ptr<dvbt_reference_signals> sptr;
46
47 /*!
48 * \brief Create Reference signals generator.
49 *
50 * \param itemsize size of an in/out item. \n
51 * \param ninput input stream length. \n
52 * \param noutput output stream length. \n
53 * \param constellation constellation used. \n
54 * \param hierarchy hierarchy used. \n
55 * \param code_rate_HP high priority stream code rate. \n
56 * \param code_rate_LP low priority stream code rate. \n
57 * \param guard_interval guard interval used. \n
58 * \param transmission_mode transmission mode used. \n
59 * \param include_cell_id include or not Cell ID. \n
60 * \param cell_id value of the Cell ID.
61 */
62 static sptr make(int itemsize,
63 int ninput,
64 int noutput,
65 dvb_constellation_t constellation,
66 dvbt_hierarchy_t hierarchy,
67 dvb_code_rate_t code_rate_HP,
68 dvb_code_rate_t code_rate_LP,
69 dvb_guardinterval_t guard_interval,
70 dvbt_transmission_mode_t transmission_mode,
71 int include_cell_id,
72 int cell_id);
73};
74
75} // namespace dtv
76} // namespace gr
77
78#endif /* INCLUDED_DTV_DVBT_REFERENCE_SIGNALS_H */
The abstract base class for all 'terminal' processing blocks.
Definition block.h:72
Reference signals generator.
Definition dvbt_reference_signals.h:43
static sptr make(int itemsize, int ninput, int noutput, dvb_constellation_t constellation, dvbt_hierarchy_t hierarchy, dvb_code_rate_t code_rate_HP, dvb_code_rate_t code_rate_LP, dvb_guardinterval_t guard_interval, dvbt_transmission_mode_t transmission_mode, int include_cell_id, int cell_id)
Create Reference signals generator.
boost::shared_ptr< dvbt_reference_signals > sptr
Definition dvbt_reference_signals.h:45
#define DTV_API
Definition gr-dtv/include/gnuradio/dtv/api.h:30
dvb_guardinterval_t
Definition dvb_config.h:114
dvb_code_rate_t
Definition dvb_config.h:31
dvbt_hierarchy_t
Definition dvbt_config.h:26
dvbt_transmission_mode_t
Definition dvbt_config.h:33
dvb_constellation_t
Definition dvb_config.h:91
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition basic_block.h:46