GNU Radio Manual and C++ API Reference
3.9.1.0
The Free & Open Software Radio Ecosystem
meas_evm_cc.h
Go to the documentation of this file.
1
/* -*- c++ -*- */
2
/*
3
* Copyright 2020 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_MEAS_EVM_CC_H
12
#define INCLUDED_DIGITAL_MEAS_EVM_CC_H
13
14
#include <
gnuradio/digital/api.h
>
15
#include <
gnuradio/digital/constellation.h
>
16
#include <
gnuradio/sync_block.h
>
17
18
namespace
gr
{
19
namespace
digital {
20
21
/*!
22
* \brief Measures EVM of incoming symbols relative to a constellation object
23
* \ingroup equalizers
24
*
25
*/
26
enum class
evm_measurement_t
{
EVM_PERCENT
= 0,
EVM_DB
= 1 };
27
28
class
DIGITAL_API
meas_evm_cc
:
virtual
public
gr::sync_block
29
{
30
public
:
31
typedef
std::shared_ptr<meas_evm_cc>
sptr
;
32
33
/*!
34
* \brief Return a shared_ptr to a new instance of gr::digital::meas_evm_cc.
35
*
36
* To avoid accidental use of raw pointers, equalizers::meas_evm_cc's
37
* constructor is in a private implementation
38
* class. equalizers::meas_evm_cc::make is the public interface for
39
* creating new instances.
40
*/
41
static
sptr
make(constellation_sptr
cons
,
42
evm_measurement_t
meas_type =
evm_measurement_t::EVM_PERCENT
);
43
};
44
45
}
// namespace digital
46
}
// namespace gr
47
48
#endif
/* INCLUDED_DIGITAL_MEAS_EVM_CC_H */
gr::digital::evm_measurement_t::EVM_DB
@ EVM_DB
gr::sync_block
synchronous 1:1 input to output with history
Definition:
sync_block.h:25
DIGITAL_API
#define DIGITAL_API
Definition:
gr-digital/include/gnuradio/digital/api.h:18
gr::digital::evm_measurement_t
evm_measurement_t
Measures EVM of incoming symbols relative to a constellation object.
Definition:
meas_evm_cc.h:26
sync_block.h
api.h
gr::digital::meas_evm_cc
Definition:
meas_evm_cc.h:28
constellation.h
gr::digital::evm_measurement_t::EVM_PERCENT
@ EVM_PERCENT
gr::digital::meas_evm_cc::sptr
std::shared_ptr< meas_evm_cc > sptr
Definition:
meas_evm_cc.h:31
gr
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition:
basic_block.h:29
pmt::cons
PMT_API pmt_t cons(const pmt_t &x, const pmt_t &y)
Return a newly allocated pair whose car is x and whose cdr is y.
gr-digital
include
gnuradio
digital
meas_evm_cc.h
Generated by
1.8.17