|
GNU Radio 3.4.0 C++ API
|
high performance Automatic Gain Control class More...
#include <gri_agc_cc.h>

Public Member Functions | |
| gri_agc_cc (float rate=1e-4, float reference=1.0, float gain=1.0, float max_gain=0.0) | |
| float | rate () const |
| float | reference () const |
| float | gain () const |
| float | max_gain () const |
| void | set_rate (float rate) |
| void | set_reference (float reference) |
| void | set_gain (float gain) |
| void | set_max_gain (float max_gain) |
| gr_complex | scale (gr_complex input) |
| void | scaleN (gr_complex output[], const gr_complex input[], unsigned n) |
Protected Attributes | |
| float | _rate |
| float | _reference |
| float | _gain |
| float | _max_gain |
high performance Automatic Gain Control class
For Power the absolute value of the complex number is used.
| gri_agc_cc::gri_agc_cc | ( | float | rate = 1e-4, |
| float | reference = 1.0, |
||
| float | gain = 1.0, |
||
| float | max_gain = 0.0 |
||
| ) | [inline] |
| float gri_agc_cc::gain | ( | ) | const [inline] |
References _gain.
Referenced by set_gain().
| float gri_agc_cc::max_gain | ( | ) | const [inline] |
References _max_gain.
Referenced by set_max_gain().
| float gri_agc_cc::rate | ( | ) | const [inline] |
References _rate.
Referenced by set_rate().
| float gri_agc_cc::reference | ( | ) | const [inline] |
References _reference.
Referenced by set_reference().
| gr_complex gri_agc_cc::scale | ( | gr_complex | input | ) | [inline] |
References _gain, _max_gain, _rate, and _reference.
Referenced by scaleN().
| void gri_agc_cc::scaleN | ( | gr_complex | output[], |
| const gr_complex | input[], | ||
| unsigned | n | ||
| ) | [inline] |
References scale().
| void gri_agc_cc::set_max_gain | ( | float | max_gain | ) | [inline] |
References _max_gain, and max_gain().
| void gri_agc_cc::set_reference | ( | float | reference | ) | [inline] |
References _reference, and reference().
float gri_agc_cc::_gain [protected] |
Referenced by gain(), scale(), and set_gain().
float gri_agc_cc::_max_gain [protected] |
Referenced by max_gain(), scale(), and set_max_gain().
float gri_agc_cc::_rate [protected] |
Referenced by rate(), scale(), and set_rate().
float gri_agc_cc::_reference [protected] |
Referenced by reference(), scale(), and set_reference().