GNU Radio 2.x: gr_agc class Reference

Main Page | Modules | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members

# gr_agc Class Reference

`#include <gr_agc.h>`

List of all members.

## Detailed Description

high performance Automatic Gain Control class

Power is approximated by absolute value

## Public Member Functions
| gr_agc (float rate=1e-4, float reference=1.0, float gain=1.0)
float | rate () const
float | reference () const
float | gain () const
void | set_rate (float rate)
void | set_reference (float reference)
void | set_gain (float gain)
float | scale (float input)
void | scaleN (float output[], const float input[], unsigned n)
## Protected Attributes
float | _rate
float | _reference
float | _gain

## Constructor & Destructor Documentation

gr_agc::gr_agc | ( | float | rate = 1e-4,
|  | float | reference = 1.0,
|  | float | gain = 1.0
| ) | `[inline]`

## Member Function Documentation

float gr_agc::gain | ( |  | ) | const`[inline]`

float gr_agc::rate | ( |  | ) | const`[inline]`

float gr_agc::reference | ( |  | ) | const`[inline]`

float gr_agc::scale | ( | float | input | ) | `[inline]`

void gr_agc::scaleN | ( | float | output[],
|  | const float | input[],
|  | unsigned | n
| ) | `[inline]`

void gr_agc::set_gain | ( | float | gain | ) | `[inline]`

void gr_agc::set_rate | ( | float | rate | ) | `[inline]`

void gr_agc::set_reference | ( | float | reference | ) | `[inline]`

## Member Data Documentation

float gr_agc::_gain`[protected]`

float gr_agc::_rate`[protected]`

float gr_agc::_reference`[protected]`

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

- gr_agc.h