GNU Radio Manual and C++ API Reference  3.7.9.2
The Free & Open Software Radio Ecosystem
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
dvb_bbscrambler_bb.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_DVB_BBSCRAMBLER_BB_H
22 #define INCLUDED_DTV_DVB_BBSCRAMBLER_BB_H
23 
24 #include <gnuradio/dtv/api.h>
26 #include <gnuradio/sync_block.h>
27 
28 namespace gr {
29  namespace dtv {
30 
31  /*!
32  * \brief Scrambles FEC baseband frames with a PRBS encoder.
33  * \ingroup dtv
34  *
35  * \details
36  * Input: Variable length FEC baseband frames (BBFRAME).
37  * Output: Scrambled variable length FEC baseband frames (BBFRAME).
38  */
39  class DTV_API dvb_bbscrambler_bb : virtual public gr::sync_block
40  {
41  public:
42  typedef boost::shared_ptr<dvb_bbscrambler_bb> sptr;
43 
44  /*!
45  * \brief Create a baseband frame scrambler.
46  *
47  * \param standard DVB standard (DVB-S2 or DVB-T2).
48  * \param framesize FEC frame size (normal or short).
49  * \param rate FEC code rate.
50  */
51  static sptr make(dvb_standard_t standard, dvb_framesize_t framesize, dvb_code_rate_t rate);
52  };
53 
54  } // namespace dtv
55 } // namespace gr
56 
57 #endif /* INCLUDED_DTV_DVB_BBSCRAMBLER_BB_H */
58 
Scrambles FEC baseband frames with a PRBS encoder.
Definition: dvb_bbscrambler_bb.h:39
#define DTV_API
Definition: gr-dtv/include/gnuradio/dtv/api.h:30
Include this header to use the message passing features.
Definition: logger.h:131
boost::shared_ptr< dvb_bbscrambler_bb > sptr
Definition: dvb_bbscrambler_bb.h:42
synchronous 1:1 input to output with historyOverride work to provide the signal processing implementa...
Definition: sync_block.h:37
dvb_standard_t
Definition: dvb_config.h:26
dvb_framesize_t
Definition: dvb_config.h:76
dvb_code_rate_t
Definition: dvb_config.h:31