GNU Radio Manual and C++ API Reference  v3.9.2.0-89-gb7c7001e
The Free & Open Software Radio Ecosystem
constellation_decoder_cb.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2011,2012 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_DECODER_CB_H
12 #define INCLUDED_DIGITAL_CONSTELLATION_DECODER_CB_H
13 
14 #include <gnuradio/block.h>
15 #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
27  * index of constellation symbol based on the map of the \p constellation
28  * object.
29  */
31 {
32 public:
33  // gr::digital::constellation_decoder_cb::sptr
34  typedef std::shared_ptr<constellation_decoder_cb> sptr;
35 
36  /*!
37  * \brief Make constellation decoder block.
38  *
39  * \param constellation A constellation derived from class
40  * 'constellation'. Use base() method to get a shared pointer to
41  * this base class type.
42  */
43  static sptr make(constellation_sptr constellation);
44 };
45 
46 } /* namespace digital */
47 } /* namespace gr */
48 
49 #endif /* INCLUDED_DIGITAL_CONSTELLATION_DECODER_CB_H */
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:60
Constellation Decoder.
Definition: constellation_decoder_cb.h:31
std::shared_ptr< constellation_decoder_cb > sptr
Definition: constellation_decoder_cb.h:34
static sptr make(constellation_sptr constellation)
Make constellation decoder block.
An abstracted constellation object.
Definition: constellation.h:50
#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