GNU Radio Manual and C++ API Reference  3.10.9.1
The Free & Open Software Radio Ecosystem
dvb_bch_bb.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2015-2017 Free Software Foundation, Inc.
4  *
5  * SPDX-License-Identifier: GPL-3.0-or-later
6  *
7  */
8 
9 
10 #ifndef INCLUDED_DTV_DVB_BCH_BB_H
11 #define INCLUDED_DTV_DVB_BCH_BB_H
12 
13 #include <gnuradio/block.h>
14 #include <gnuradio/dtv/api.h>
16 
17 namespace gr {
18 namespace dtv {
19 
20 /*!
21  * \brief Encodes a BCH ((Bose, Chaudhuri, Hocquenghem) FEC.
22  * \ingroup dtv
23  *
24  * \details
25  * Input: Variable length FEC baseband frames (BBFRAME). \n
26  * Output: Variable length FEC baseband frames with appended BCH (BCHFEC).
27  */
28 class DTV_API dvb_bch_bb : virtual public gr::block
29 {
30 public:
31  typedef std::shared_ptr<dvb_bch_bb> sptr;
32 
33  /*!
34  * \brief Create a baseband frame BCH encoder.
35  *
36  * \param standard DVB standard (DVB-S2 or DVB-T2).
37  * \param framesize FEC frame size (normal, medium or short).
38  * \param rate FEC code rate.
39  */
40  static sptr
41  make(dvb_standard_t standard, dvb_framesize_t framesize, dvb_code_rate_t rate);
42 };
43 
44 } // namespace dtv
45 } // namespace gr
46 
47 #endif /* INCLUDED_DTV_DVB_BCH_BB_H */
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:63
Encodes a BCH ((Bose, Chaudhuri, Hocquenghem) FEC.
Definition: dvb_bch_bb.h:29
static sptr make(dvb_standard_t standard, dvb_framesize_t framesize, dvb_code_rate_t rate)
Create a baseband frame BCH encoder.
std::shared_ptr< dvb_bch_bb > sptr
Definition: dvb_bch_bb.h:31
#define DTV_API
Definition: gr-dtv/include/gnuradio/dtv/api.h:18
dvb_code_rate_t
Definition: dvb_config.h:19
dvb_framesize_t
Definition: dvb_config.h:73
dvb_standard_t
Definition: dvb_config.h:14
GNU Radio logging wrapper.
Definition: basic_block.h:29