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

| GNU Radio C++ API Reference 3.10.12.0 The Free & Open Software Radio Ecosystem |

Loading...
Searching...
No Matches
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>
15#include <gnuradio/digital/constellation.h>
16#include <gnuradio/digital/metric_type.h>
17#include <gnuradio/trellis/api.h>
18
19namespace gr {
20namespace trellis {
21
22/*!
23 * \brief Evaluate metrics for use by the Viterbi algorithm.
24 * \ingroup trellis_coding_blk
25 */
26 class TRELLIS_API constellation_metrics_cf : virtual public block
27{
28public:
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,
33 digital::trellis_metric_type_t TYPE);
34};
35
36} /* namespace trellis */
37} /* namespace gr */
38
39#endif /* INCLUDED_TRELLIS_CONSTELLATION_METRICS_CF_H */
gr::block::block
block(void)
Definition gnuradio-runtime/include/gnuradio/block.h:806
gr::trellis::constellation_metrics_cf
Evaluate metrics for use by the Viterbi algorithm.
Definition constellation_metrics_cf.h:27
gr::trellis::constellation_metrics_cf::make
static sptr make(digital::constellation_sptr constellation, digital::trellis_metric_type_t TYPE)
gr::trellis::constellation_metrics_cf::sptr
std::shared_ptr< constellation_metrics_cf > sptr
Definition constellation_metrics_cf.h:30
constellation.h
block.h
api.h
TRELLIS_API
#define TRELLIS_API
Definition gr-trellis/include/gnuradio/trellis/api.h:18
metric_type.h
gr::digital::trellis_metric_type_t
trellis_metric_type_t
Definition metric_type.h:17
gr::trellis
Definition base.h:17
gr
GNU Radio logging wrapper.
Definition basic_block.h:29