GNU Radio Manual and C++ API Reference
3.9.1.0
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
>
16
#include <
gnuradio/digital/constellation.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
*/
30
class
DIGITAL_API
constellation_decoder_cb
:
virtual
public
block
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 */
block.h
gr::digital::constellation
An abstracted constellation object.
Definition:
constellation.h:49
DIGITAL_API
#define DIGITAL_API
Definition:
gr-digital/include/gnuradio/digital/api.h:18
gr::block
The abstract base class for all 'terminal' processing blocks.
Definition:
block.h:59
api.h
constellation.h
gr
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition:
basic_block.h:29
gr::digital::constellation_decoder_cb::sptr
std::shared_ptr< constellation_decoder_cb > sptr
Definition:
constellation_decoder_cb.h:34
gr::digital::constellation_decoder_cb
Constellation Decoder.
Definition:
constellation_decoder_cb.h:30
gr-digital
include
gnuradio
digital
constellation_decoder_cb.h
Generated by
1.8.17