GNU Radio Manual and C++ API Reference 3.8.5.0
The Free & Open Software Radio Ecosystem
 
Loading...
Searching...
No Matches
dvb_bch_bb.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
22#ifndef INCLUDED_DTV_DVB_BCH_BB_H
23#define INCLUDED_DTV_DVB_BCH_BB_H
24
25#include <gnuradio/block.h>
26#include <gnuradio/dtv/api.h>
28
29namespace gr {
30namespace dtv {
31
32/*!
33 * \brief Encodes a BCH ((Bose, Chaudhuri, Hocquenghem) FEC.
34 * \ingroup dtv
35 *
36 * \details
37 * Input: Variable length FEC baseband frames (BBFRAME). \n
38 * Output: Variable length FEC baseband frames with appended BCH (BCHFEC).
39 */
40class DTV_API dvb_bch_bb : virtual public gr::block
41{
42public:
43 typedef boost::shared_ptr<dvb_bch_bb> sptr;
44
45 /*!
46 * \brief Create a baseband frame BCH encoder.
47 *
48 * \param standard DVB standard (DVB-S2 or DVB-T2).
49 * \param framesize FEC frame size (normal, medium or short).
50 * \param rate FEC code rate.
51 */
52 static sptr
54};
55
56} // namespace dtv
57} // namespace gr
58
59#endif /* INCLUDED_DTV_DVB_BCH_BB_H */
The abstract base class for all 'terminal' processing blocks.
Definition block.h:72
Encodes a BCH ((Bose, Chaudhuri, Hocquenghem) FEC.
Definition dvb_bch_bb.h:41
boost::shared_ptr< dvb_bch_bb > sptr
Definition dvb_bch_bb.h:43
static sptr make(dvb_standard_t standard, dvb_framesize_t framesize, dvb_code_rate_t rate)
Create a baseband frame BCH encoder.
#define DTV_API
Definition gr-dtv/include/gnuradio/dtv/api.h:30
dvb_code_rate_t
Definition dvb_config.h:31
dvb_framesize_t
Definition dvb_config.h:85
dvb_standard_t
Definition dvb_config.h:26
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition basic_block.h:46