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

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

Loading...
Searching...
No Matches
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
17namespace gr {
18namespace 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 */
25 class ANALOG_API feedforward_agc_cc : virtual public sync_block
26{
27public:
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 */
gr::analog::feedforward_agc_cc
Non-causal AGC which computes required gain based on max absolute value over nsamples.
Definition feedforward_agc_cc.h:26
gr::analog::feedforward_agc_cc::sptr
std::shared_ptr< feedforward_agc_cc > sptr
Definition feedforward_agc_cc.h:29
gr::analog::feedforward_agc_cc::make
static sptr make(int nsamples, float reference)
gr::sync_block::sync_block
sync_block(void)
Definition sync_block.h:28
api.h
ANALOG_API
#define ANALOG_API
Definition gr-analog/include/gnuradio/analog/api.h:18
gr::analog
Definition agc.h:19
gr
GNU Radio logging wrapper.
Definition basic_block.h:29
sync_block.h