GNU Radio C++ API Reference 3.10.12.0
The Free & Open Software Radio Ecosystem
 
Loading...
Searching...
No Matches
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>
17
18namespace gr {
19namespace 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{
32public:
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 * Set a new constellation object for decoding
47 *
48 * \param constellation A constellation derived from class
49 * 'constellation'. Use base() method to get a shared pointer to
50 * this base class type.
51 */
52 virtual void set_constellation(constellation_sptr constellation) = 0;
53};
54
55} /* namespace digital */
56} /* namespace gr */
57
58#endif /* INCLUDED_DIGITAL_CONSTELLATION_DECODER_CB_H */
The abstract base class for all 'terminal' processing blocks.
Definition gnuradio-runtime/include/gnuradio/block.h:63
Constellation Decoder.
Definition constellation_decoder_cb.h:31
virtual void set_constellation(constellation_sptr constellation)=0
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.
Definition basic_block.h:29