GNU Radio 3.6.5 C++ API

gr::analog::kernel::agc2_cc Class Reference

high performance Automatic Gain Control class More...

#include <agc2.h>

Inheritance diagram for gr::analog::kernel::agc2_cc:
gr::analog::agc2_cc_impl

List of all members.

Public Member Functions

 agc2_cc (float attack_rate=1e-1, float decay_rate=1e-2, float reference=1.0, float gain=1.0, float max_gain=0.0)
float decay_rate () const
float attack_rate () const
float reference () const
float gain () const
float max_gain () const
void set_decay_rate (float rate)
void set_attack_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 _attack_rate
float _decay_rate
float _reference
float _gain
float _max_gain

Detailed Description

high performance Automatic Gain Control class

For Power the absolute value of the complex number is used.


Constructor & Destructor Documentation

gr::analog::kernel::agc2_cc::agc2_cc ( float  attack_rate = 1e-1,
float  decay_rate = 1e-2,
float  reference = 1.0,
float  gain = 1.0,
float  max_gain = 0.0 
) [inline]

Member Function Documentation

float gr::analog::kernel::agc2_cc::attack_rate ( ) const [inline]

Reimplemented in gr::analog::agc2_cc_impl.

float gr::analog::kernel::agc2_cc::decay_rate ( ) const [inline]

Reimplemented in gr::analog::agc2_cc_impl.

float gr::analog::kernel::agc2_cc::gain ( ) const [inline]

Reimplemented in gr::analog::agc2_cc_impl.

float gr::analog::kernel::agc2_cc::max_gain ( ) const [inline]

Reimplemented in gr::analog::agc2_cc_impl.

float gr::analog::kernel::agc2_cc::reference ( ) const [inline]

Reimplemented in gr::analog::agc2_cc_impl.

gr_complex gr::analog::kernel::agc2_cc::scale ( gr_complex  input) [inline]
void gr::analog::kernel::agc2_cc::scaleN ( gr_complex  output[],
const gr_complex  input[],
unsigned  n 
) [inline]
void gr::analog::kernel::agc2_cc::set_attack_rate ( float  rate) [inline]

Reimplemented in gr::analog::agc2_cc_impl.

void gr::analog::kernel::agc2_cc::set_decay_rate ( float  rate) [inline]

Reimplemented in gr::analog::agc2_cc_impl.

void gr::analog::kernel::agc2_cc::set_gain ( float  gain) [inline]

Reimplemented in gr::analog::agc2_cc_impl.

void gr::analog::kernel::agc2_cc::set_max_gain ( float  max_gain) [inline]

Reimplemented in gr::analog::agc2_cc_impl.

void gr::analog::kernel::agc2_cc::set_reference ( float  reference) [inline]

Reimplemented in gr::analog::agc2_cc_impl.


Member Data Documentation


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