GNU Radio Manual and C++ API Reference  3.10.7.0
The Free & Open Software Radio Ecosystem
constellation_soft_decoder_cf.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2013 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_SOFT_DECODER_CF_H
12 #define INCLUDED_DIGITAL_CONSTELLATION_SOFT_DECODER_CF_H
13 
14 #include <gnuradio/digital/api.h>
17 
18 namespace gr {
19 namespace digital {
20 
21 /*!
22  * \brief Constellation Decoder
23  * \ingroup symbol_coding_blk
24  *
25  * \details
26  * Decode a constellation's points from a complex space to soft
27  * bits based on the map and soft decision LUT of the \p
28  * constellation object.
29  *
30  * Does not support constellations of dimensionality higher than 1
31  */
33 {
34 public:
35  // gr::digital::constellation_soft_decoder_cf::sptr
36  typedef std::shared_ptr<constellation_soft_decoder_cf> sptr;
37 
38  /*!
39  * \brief Make constellation decoder block.
40  *
41  * \param constellation A constellation derived from class
42  * 'constellation'. Use base() method to get a shared pointer to
43  * this base class type.
44  */
45  static sptr make(constellation_sptr constellation);
46 
47  /*!
48  * Set a new constellation object for decoding
49  *
50  * \param constellation A constellation derived from class
51  * 'constellation'. Use base() method to get a shared pointer to
52  * this base class type.
53  */
54  virtual void set_constellation(constellation_sptr constellation) = 0;
55 };
56 
57 } /* namespace digital */
58 } /* namespace gr */
59 
60 #endif /* INCLUDED_DIGITAL_CONSTELLATION_SOFT_DECODER_CF_H */
An abstracted constellation object.
Definition: constellation.h:49
#define DIGITAL_API
Definition: gr-digital/include/gnuradio/digital/api.h:18
synchronous 1:N input to output with historyOverride work to provide the signal processing implementa...
Definition: sync_interpolator.h:25
GNU Radio logging wrapper.
Definition: basic_block.h:29
std::shared_ptr< constellation_soft_decoder_cf > sptr
Definition: constellation_soft_decoder_cf.h:36
Constellation Decoder.
Definition: constellation_soft_decoder_cf.h:32