GNU Radio Manual and C++ API Reference 3.10.5.1
The Free & Open Software Radio Ecosystem
gr::analog::kernel::agc_ff Class Reference

high performance Automatic Gain Control class for float signals. More...

#include <gnuradio/analog/agc.h>

Public Member Functions

 agc_ff (float rate=1e-4, float reference=1.0, float gain=1.0, float max_gain=0.0)
 
 ~agc_ff ()
 
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)
 
float scale (float input)
 
void scaleN (float output[], const float input[], unsigned n)
 

Protected Attributes

float _rate
 
float _reference
 
float _gain
 
float _max_gain
 

Detailed Description

high performance Automatic Gain Control class for float signals.

Power is approximated by absolute value

Constructor & Destructor Documentation

◆ agc_ff()

gr::analog::kernel::agc_ff::agc_ff ( float  rate = 1e-4,
float  reference = 1.0,
float  gain = 1.0,
float  max_gain = 0.0 
)
inline

Construct a floating point value AGC loop implementation object.

Parameters
ratethe update rate of the loop.
referencereference value to adjust signal power to.
gaininitial gain value.
max_gainmaximum gain value (0 for unlimited).

◆ ~agc_ff()

gr::analog::kernel::agc_ff::~agc_ff ( )
inline

Member Function Documentation

◆ gain()

float gr::analog::kernel::agc_ff::gain ( ) const
inline

◆ max_gain()

float gr::analog::kernel::agc_ff::max_gain ( ) const
inline

◆ rate()

float gr::analog::kernel::agc_ff::rate ( ) const
inline

◆ reference()

float gr::analog::kernel::agc_ff::reference ( ) const
inline

◆ scale()

float gr::analog::kernel::agc_ff::scale ( float  input)
inline

◆ scaleN()

void gr::analog::kernel::agc_ff::scaleN ( float  output[],
const float  input[],
unsigned  n 
)
inline

◆ set_gain()

void gr::analog::kernel::agc_ff::set_gain ( float  gain)
inline

◆ set_max_gain()

void gr::analog::kernel::agc_ff::set_max_gain ( float  max_gain)
inline

◆ set_rate()

void gr::analog::kernel::agc_ff::set_rate ( float  rate)
inline

◆ set_reference()

void gr::analog::kernel::agc_ff::set_reference ( float  reference)
inline

Member Data Documentation

◆ _gain

float gr::analog::kernel::agc_ff::_gain
protected

◆ _max_gain

float gr::analog::kernel::agc_ff::_max_gain
protected

◆ _rate

float gr::analog::kernel::agc_ff::_rate
protected

◆ _reference

float gr::analog::kernel::agc_ff::_reference
protected

The documentation for this class was generated from the following file: