GNU Radio Manual and C++ API Reference
3.9.1.0
The Free & Open Software Radio Ecosystem
diff_decoder_bb.h
Go to the documentation of this file.
1
/* -*- c++ -*- */
2
/*
3
* Copyright 2006,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_GR_DIFF_DECODER_BB_H
12
#define INCLUDED_GR_DIFF_DECODER_BB_H
13
14
#include <
gnuradio/digital/api.h
>
15
#include <
gnuradio/sync_block.h
>
16
17
namespace
gr
{
18
namespace
digital {
19
20
/*!
21
* \brief Differential encoder: y[0] = (x[0] - x[-1]) % M
22
* \ingroup symbol_coding_blk
23
*
24
* \details
25
* Uses current and previous symbols and the alphabet modulus to
26
* perform differential decoding.
27
*/
28
class
DIGITAL_API
diff_decoder_bb
:
virtual
public
sync_block
29
{
30
public
:
31
// gr::digital::diff_decoder_bb::sptr
32
typedef
std::shared_ptr<diff_decoder_bb>
sptr
;
33
34
/*!
35
* Make a differential decoder block.
36
*
37
* \param modulus Modulus of code's alphabet
38
*/
39
static
sptr
make(
unsigned
int
modulus);
40
};
41
42
}
/* namespace digital */
43
}
/* namespace gr */
44
45
#endif
/* INCLUDED_GR_DIFF_DECODER_BB_H */
gr::digital::diff_decoder_bb::sptr
std::shared_ptr< diff_decoder_bb > sptr
Definition:
diff_decoder_bb.h:32
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
sync_block.h
gr::digital::diff_decoder_bb
Differential encoder: y[0] = (x[0] - x[-1]) % M.
Definition:
diff_decoder_bb.h:28
api.h
gr
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition:
basic_block.h:29
gr-digital
include
gnuradio
digital
diff_decoder_bb.h
Generated by
1.8.17