GNU Radio Manual and C++ API Reference  3.10.9.1
The Free & Open Software Radio Ecosystem
diff_phasor_cc.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_PHASOR_CC_H
12 #define INCLUDED_GR_DIFF_PHASOR_CC_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 decoding based on phase change.
22  * \ingroup symbol_coding_blk
23  *
24  * \details
25  * Uses the phase difference between two symbols to determine the
26  * output symbol:
27  *
28  * out[i] = in[i] * conj(in[i-1]);
29  */
30 class DIGITAL_API diff_phasor_cc : virtual public sync_block
31 {
32 public:
33  // gr::digital::diff_phasor_cc::sptr
34  typedef std::shared_ptr<diff_phasor_cc> sptr;
35 
36  /*!
37  * Make a differential phasor decoding block.
38  */
39  static sptr make();
40 };
41 
42 } /* namespace digital */
43 } /* namespace gr */
44 
45 #endif /* INCLUDED_GR_DIFF_PHASOR_CC_H */
Differential decoding based on phase change.
Definition: diff_phasor_cc.h:31
std::shared_ptr< diff_phasor_cc > sptr
Definition: diff_phasor_cc.h:34
synchronous 1:1 input to output with history
Definition: sync_block.h:26
#define DIGITAL_API
Definition: gr-digital/include/gnuradio/digital/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29