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

gri_agc Class Reference

#include <gri_agc.h>

Inheritance diagram for gri_agc:

Inheritance graph
[legend]
List of all members.

Detailed Description

high performance Automatic Gain Control class

Power is approximated by absolute value


Public Member Functions

 gri_agc (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)
float scale (float input)
void scaleN (float output[], const float input[], unsigned n)

Protected Attributes

float _rate
float _reference
float _gain
float _max_gain


Constructor & Destructor Documentation

gri_agc::gri_agc float  rate = 1e-4,
float  reference = 1.0,
float  gain = 1.0,
float  max_gain = 0.0
[inline]
 


Member Function Documentation

float gri_agc::gain  )  const [inline]
 

float gri_agc::max_gain  )  const [inline]
 

float gri_agc::rate  )  const [inline]
 

float gri_agc::reference  )  const [inline]
 

float gri_agc::scale float  input  )  [inline]
 

void gri_agc::scaleN float  output[],
const float  input[],
unsigned  n
[inline]
 

void gri_agc::set_gain float  gain  )  [inline]
 

void gri_agc::set_max_gain float  max_gain  )  [inline]
 

void gri_agc::set_rate float  rate  )  [inline]
 

void gri_agc::set_reference float  reference  )  [inline]
 


Member Data Documentation

float gri_agc::_gain [protected]
 

float gri_agc::_max_gain [protected]
 

float gri_agc::_rate [protected]
 

float gri_agc::_reference [protected]
 


The documentation for this class was generated from the following file:
Generated on Sat Jul 8 17:14:54 2006 for GNU Radio 2.x by  doxygen 1.4.1