GNU Radio Manual and C++ API Reference  v3.9.2.0-89-gb7c7001e
The Free & Open Software Radio Ecosystem
constellation_encoder_bc.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2020 Free Software Foundation, Inc.
4  *
5  * This file is part of GNU Radio
6  *
7  * SPDX-License-Identifier: GPL-3.0-or-later
8  *
9  */
10 
11 #ifndef INCLUDED_DIGITAL_CONSTELLATION_ENCODER_BC_H
12 #define INCLUDED_DIGITAL_CONSTELLATION_ENCODER_BC_H
13 
14 #include <gnuradio/digital/api.h>
17 
18 namespace gr {
19 namespace digital {
20 
21 /*!
22  * \brief Constellation Encoder
23  * \ingroup symbol_coding_blk
24  *
25  * \details
26  * Encode index of constellation points into a constellation's complex
27  * space based on the map of the \p constellation object.
28  */
30 {
31 public:
32  // gr::digital::constellation_encoder_bc::sptr
33  typedef std::shared_ptr<constellation_encoder_bc> sptr;
34 
35  /*!
36  * \brief Make constellation decoder block.
37  *
38  * \param constellation A constellation derived from class
39  * 'constellation'. Use base() method to get a shared pointer to
40  * this base class type.
41  */
42  static sptr make(constellation_sptr constellation);
43 };
44 
45 } /* namespace digital */
46 } /* namespace gr */
47 
48 #endif /* INCLUDED_DIGITAL_CONSTELLATION_ENCODER_BC_H */
Constellation Encoder.
Definition: constellation_encoder_bc.h:30
std::shared_ptr< constellation_encoder_bc > sptr
Definition: constellation_encoder_bc.h:33
static sptr make(constellation_sptr constellation)
Make constellation decoder block.
An abstracted constellation object.
Definition: constellation.h:50
synchronous 1:N input to output with history
Definition: sync_interpolator.h:26
#define DIGITAL_API
Definition: gr-digital/include/gnuradio/digital/api.h:18
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:29