GNU Radio Manual and C++ API Reference  3.10.9.1
The Free & Open Software Radio Ecosystem
constellation_metrics_cf.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2004,2010-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_TRELLIS_CONSTELLATION_METRICS_CF_H
12 #define INCLUDED_TRELLIS_CONSTELLATION_METRICS_CF_H
13 
14 #include <gnuradio/block.h>
17 #include <gnuradio/trellis/api.h>
18 
19 namespace gr {
20 namespace trellis {
21 
22 /*!
23  * \brief Evaluate metrics for use by the Viterbi algorithm.
24  * \ingroup trellis_coding_blk
25  */
27 {
28 public:
29  // gr::trellis::constellation_metrics_cf::sptr
30  typedef std::shared_ptr<constellation_metrics_cf> sptr;
31 
32  static sptr make(digital::constellation_sptr constellation,
34 };
35 
36 } /* namespace trellis */
37 } /* namespace gr */
38 
39 #endif /* INCLUDED_TRELLIS_CONSTELLATION_METRICS_CF_H */
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:63
Evaluate metrics for use by the Viterbi algorithm.
Definition: constellation_metrics_cf.h:27
static sptr make(digital::constellation_sptr constellation, digital::trellis_metric_type_t TYPE)
std::shared_ptr< constellation_metrics_cf > sptr
Definition: constellation_metrics_cf.h:30
#define TRELLIS_API
Definition: gr-trellis/include/gnuradio/trellis/api.h:18
trellis_metric_type_t
Definition: metric_type.h:17
GNU Radio logging wrapper.
Definition: basic_block.h:29