GNU Radio Manual and C++ API Reference  3.9.1.0
The Free & Open Software Radio Ecosystem
dvbs2_modulator_bc.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_MODULATOR_BC_H
10 #define INCLUDED_DTV_DVBS2_MODULATOR_BC_H
11 
12 #include <gnuradio/block.h>
13 #include <gnuradio/dtv/api.h>
16 
17 namespace gr {
18 namespace dtv {
19 
20 /*!
21  * \brief Modulates DVB-S2 frames.
22  * \ingroup dtv
23  *
24  * Input: Bit interleaved baseband frames. \n
25  * Output: QPSK, 8PSK, 16APSK or 32APSK modulated complex IQ values (XFECFRAME).
26  */
27 class DTV_API dvbs2_modulator_bc : virtual public gr::block
28 {
29 public:
30  typedef std::shared_ptr<dvbs2_modulator_bc> sptr;
31 
32  /*!
33  * \brief Create a DVB-S2 constellation modulator.
34  *
35  * \param framesize FEC frame size (normal or short).
36  * \param rate FEC code rate.
37  * \param constellation DVB-S2 constellation.
38  * \param interpolation 2X zero stuffing interpolation (on/off).
39  */
40  static sptr make(dvb_framesize_t framesize,
41  dvb_code_rate_t rate,
42  dvb_constellation_t constellation,
43  dvbs2_interpolation_t interpolation);
44 };
45 
46 } // namespace dtv
47 } // namespace gr
48 
49 #endif /* INCLUDED_DTV_DVBS2_MODULATOR_BC_H */
block.h
dvbs2_config.h
DTV_API
#define DTV_API
Definition: gr-dtv/include/gnuradio/dtv/api.h:18
gr::dtv::dvb_framesize_t
dvb_framesize_t
Definition: dvb_config.h:73
gr::dtv::dvb_code_rate_t
dvb_code_rate_t
Definition: dvb_config.h:19
api.h
gr::dtv::dvb_constellation_t
dvb_constellation_t
Definition: dvb_config.h:79
gr::block
The abstract base class for all 'terminal' processing blocks.
Definition: block.h:59
gr::dtv::dvbs2_interpolation_t
dvbs2_interpolation_t
Definition: dvbs2_config.h:29
dvb_config.h
gr
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:29
gr::dtv::dvbs2_modulator_bc
Modulates DVB-S2 frames.
Definition: dvbs2_modulator_bc.h:27
gr::dtv::dvbs2_modulator_bc::sptr
std::shared_ptr< dvbs2_modulator_bc > sptr
Definition: dvbs2_modulator_bc.h:30