GNU Radio C++ API Reference: constellation_decoder_cb.h Source File

| 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>
15#include <gnuradio/digital/api.h>
16#include <gnuradio/digital/constellation.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 */
30 class DIGITAL_API constellation_decoder_cb : virtual public block
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 */
gr::block::block
block(void)
Definition gnuradio-runtime/include/gnuradio/block.h:806
gr::digital::constellation_decoder_cb
Constellation Decoder.
Definition constellation_decoder_cb.h:31
gr::digital::constellation_decoder_cb::set_constellation
virtual void set_constellation(constellation_sptr constellation)=0
gr::digital::constellation_decoder_cb::sptr
std::shared_ptr< constellation_decoder_cb > sptr
Definition constellation_decoder_cb.h:34
gr::digital::constellation_decoder_cb::make
static sptr make(constellation_sptr constellation)
Make constellation decoder block.
gr::digital::constellation
An abstracted constellation object.
Definition constellation.h:50
constellation.h
block.h
api.h
DIGITAL_API
#define DIGITAL_API
Definition gr-digital/include/gnuradio/digital/api.h:18
gr::digital
Definition adaptive_algorithm.h:22
gr
GNU Radio logging wrapper.
Definition basic_block.h:29