GNU Radio Manual and C++ API Reference  3.10.9.1
The Free & Open Software Radio Ecosystem
dvbs2_physical_cc.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 #ifndef INCLUDED_DTV_DVBS2_PHYSICAL_CC_H
10 #define INCLUDED_DTV_DVBS2_PHYSICAL_CC_H
11 
12 #include <gnuradio/block.h>
13 #include <gnuradio/dtv/api.h>
16 
17 namespace gr {
18 namespace dtv {
19 
20 /*!
21  * \brief Signals DVB-S2 physical layer frames.
22  * \ingroup dtv
23  *
24  * Input: QPSK, 8PSK, 16APSK or 32APSK modulated complex IQ values (XFECFRAME). \n
25  * Output: DVB-S2 PLFRAME.
26  */
27 class DTV_API dvbs2_physical_cc : virtual public gr::block
28 {
29 public:
30  typedef std::shared_ptr<dvbs2_physical_cc> sptr;
31 
32  /*!
33  * \brief Create a DVB-S2 physical layer framer.
34  *
35  * \param framesize FEC frame size (normal or short).
36  * \param rate FEC code rate.
37  * \param constellation DVB-S2 constellation.
38  * \param pilots pilot symbols (on/off).
39  * \param goldcode physical layer scrambler Gold code (0 to 262141 inclusive).
40  */
41  static sptr make(dvb_framesize_t framesize,
42  dvb_code_rate_t rate,
43  dvb_constellation_t constellation,
44  dvbs2_pilots_t pilots,
45  int goldcode);
46 };
47 
48 } // namespace dtv
49 } // namespace gr
50 
51 #endif /* INCLUDED_DTV_DVBS2_PHYSICAL_CC_H */
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:63
Signals DVB-S2 physical layer frames.
Definition: dvbs2_physical_cc.h:28
static sptr make(dvb_framesize_t framesize, dvb_code_rate_t rate, dvb_constellation_t constellation, dvbs2_pilots_t pilots, int goldcode)
Create a DVB-S2 physical layer framer.
std::shared_ptr< dvbs2_physical_cc > sptr
Definition: dvbs2_physical_cc.h:30
#define DTV_API
Definition: gr-dtv/include/gnuradio/dtv/api.h:18
dvbs2_pilots_t
Definition: dvbs2_config.h:24
dvb_code_rate_t
Definition: dvb_config.h:19
dvb_framesize_t
Definition: dvb_config.h:73
dvb_constellation_t
Definition: dvb_config.h:79
GNU Radio logging wrapper.
Definition: basic_block.h:29