GNU Radio Manual and C++ API Reference 3.8.5.0
The Free & Open Software Radio Ecosystem
 
Loading...
Searching...
No Matches
dvbs2_physical_cc.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2015,2017 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_DVBS2_PHYSICAL_CC_H
22#define INCLUDED_DTV_DVBS2_PHYSICAL_CC_H
23
24#include <gnuradio/block.h>
25#include <gnuradio/dtv/api.h>
28
29namespace gr {
30namespace dtv {
31
32/*!
33 * \brief Signals DVB-S2 physical layer frames.
34 * \ingroup dtv
35 *
36 * Input: QPSK, 8PSK, 16APSK or 32APSK modulated complex IQ values (XFECFRAME). \n
37 * Output: DVB-S2 PLFRAME.
38 */
39class DTV_API dvbs2_physical_cc : virtual public gr::block
40{
41public:
42 typedef boost::shared_ptr<dvbs2_physical_cc> sptr;
43
44 /*!
45 * \brief Create a DVB-S2 physical layer framer.
46 *
47 * \param framesize FEC frame size (normal or short).
48 * \param rate FEC code rate.
49 * \param constellation DVB-S2 constellation.
50 * \param pilots pilot symbols (on/off).
51 * \param goldcode physical layer scrambler Gold code (0 to 262141 inclusive).
52 */
53 static sptr make(dvb_framesize_t framesize,
54 dvb_code_rate_t rate,
55 dvb_constellation_t constellation,
56 dvbs2_pilots_t pilots,
57 int goldcode);
58};
59
60} // namespace dtv
61} // namespace gr
62
63#endif /* INCLUDED_DTV_DVBS2_PHYSICAL_CC_H */
The abstract base class for all 'terminal' processing blocks.
Definition block.h:72
Signals DVB-S2 physical layer frames.
Definition dvbs2_physical_cc.h:40
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.
boost::shared_ptr< dvbs2_physical_cc > sptr
Definition dvbs2_physical_cc.h:42
#define DTV_API
Definition gr-dtv/include/gnuradio/dtv/api.h:30
dvbs2_pilots_t
Definition dvbs2_config.h:36
dvb_code_rate_t
Definition dvb_config.h:31
dvb_framesize_t
Definition dvb_config.h:85
dvb_constellation_t
Definition dvb_config.h:91
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition basic_block.h:46