GNU Radio Manual and C++ API Reference
3.8.2.0
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
* 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_DVBT2_P1INSERTION_CC_H
22
#define INCLUDED_DTV_DVBT2_P1INSERTION_CC_H
23
24
#include <
gnuradio/block.h
>
25
#include <
gnuradio/dtv/api.h
>
26
#include <
gnuradio/dtv/dvb_config.h
>
27
#include <
gnuradio/dtv/dvbt2_config.h
>
28
29
namespace
gr
{
30
namespace
dtv {
31
32
/*!
33
* \brief Inserts a P1 symbol.
34
* \ingroup dtv
35
*
36
* Input: OFDM T2 frame. \n
37
* Output: OFDM T2 frame with P1 symbol.
38
*/
39
class
DTV_API
dvbt2_p1insertion_cc
:
virtual
public
gr::block
40
{
41
public
:
42
typedef
boost::shared_ptr<dvbt2_p1insertion_cc>
sptr
;
43
44
/*!
45
* \brief Create a P1 symbol inserter.
46
*
47
* \param carriermode number of carriers (normal or extended).
48
* \param fftsize OFDM IFFT size.
49
* \param guardinterval OFDM ISI guard interval.
50
* \param numdatasyms number of OFDM symbols in a T2 frame.
51
* \param preamble P1 symbol preamble format.
52
* \param showlevels print peak IQ levels.
53
* \param vclip set peak IQ level threshold.
54
*/
55
static
sptr
make
(
dvbt2_extended_carrier_t
carriermode,
56
dvbt2_fftsize_t
fftsize,
57
dvb_guardinterval_t
guardinterval,
58
int
numdatasyms,
59
dvbt2_preamble_t
preamble,
60
dvbt2_showlevels_t
showlevels,
61
float
vclip);
62
};
63
64
}
// namespace dtv
65
}
// namespace gr
66
67
#endif
/* INCLUDED_DTV_DVBT2_P1INSERTION_CC_H */
gr::dtv::dvbt2_preamble_t
dvbt2_preamble_t
Definition:
dvbt2_config.h:47
block.h
gr::dtv::dvbt2_p1insertion_cc
Inserts a P1 symbol.
Definition:
dvbt2_p1insertion_cc.h:40
gr::dtv::dvbt2_fftsize_t
dvbt2_fftsize_t
Definition:
dvbt2_config.h:55
DTV_API
#define DTV_API
Definition:
gr-dtv/include/gnuradio/dtv/api.h:30
dvbt2_config.h
gr::dtv::dvbt2_showlevels_t
dvbt2_showlevels_t
Definition:
dvbt2_config.h:113
gr::dtv::dvbt2_p1insertion_cc::sptr
boost::shared_ptr< dvbt2_p1insertion_cc > sptr
Definition:
dvbt2_p1insertion_cc.h:42
api.h
gr::dtv::dvbt2_extended_carrier_t
dvbt2_extended_carrier_t
Definition:
dvbt2_config.h:42
gr::block
The abstract base class for all 'terminal' processing blocks.
Definition:
block.h:72
dvb_config.h
gr
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition:
basic_block.h:43
gr::dtv::dvb_guardinterval_t
dvb_guardinterval_t
Definition:
dvb_config.h:114
gr::dtv::dvbt2_p1insertion_cc::make
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.
gr-dtv
include
gnuradio
dtv
dvbt2_p1insertion_cc.h
Generated by
1.8.20