GNU Radio Manual and C++ API Reference  3.10.9.1
The Free & Open Software Radio Ecosystem
feedforward_agc_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_ANALOG_FEEDFORWARD_AGC_CC_H
12 #define INCLUDED_ANALOG_FEEDFORWARD_AGC_CC_H
13 
14 #include <gnuradio/analog/api.h>
15 #include <gnuradio/sync_block.h>
16 
17 namespace gr {
18 namespace analog {
19 
20 /*!
21  * \brief Non-causal AGC which computes required gain based on max
22  * absolute value over nsamples
23  * \ingroup level_controllers_blk
24  */
26 {
27 public:
28  // gr::analog::feedforward_agc_cc::sptr
29  typedef std::shared_ptr<feedforward_agc_cc> sptr;
30 
31  /*!
32  * Build a complex valued feed-forward AGC loop block.
33  *
34  * \param nsamples number of samples to look ahead.
35  * \param reference reference value to adjust signal power to.
36  */
37  static sptr make(int nsamples, float reference);
38 };
39 
40 } /* namespace analog */
41 } /* namespace gr */
42 
43 #endif /* INCLUDED_GR_FEEDFORWARD_AGC_CC_H */
Non-causal AGC which computes required gain based on max absolute value over nsamples.
Definition: feedforward_agc_cc.h:26
std::shared_ptr< feedforward_agc_cc > sptr
Definition: feedforward_agc_cc.h:29
static sptr make(int nsamples, float reference)
synchronous 1:1 input to output with history
Definition: sync_block.h:26
#define ANALOG_API
Definition: gr-analog/include/gnuradio/analog/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29