GNU Radio Manual and C++ API Reference 3.10.5.1
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
17namespace gr {
18namespace 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 */
27class DTV_API dvbs2_modulator_bc : virtual public gr::block
28{
29public:
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 */
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:63
Modulates DVB-S2 frames.
Definition: dvbs2_modulator_bc.h:28
std::shared_ptr< dvbs2_modulator_bc > sptr
Definition: dvbs2_modulator_bc.h:30
static sptr make(dvb_framesize_t framesize, dvb_code_rate_t rate, dvb_constellation_t constellation, dvbs2_interpolation_t interpolation)
Create a DVB-S2 constellation modulator.
#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_constellation_t
Definition: dvb_config.h:79
dvbs2_interpolation_t
Definition: dvbs2_config.h:29
GNU Radio logging wrapper.
Definition: basic_block.h:29