GNU Radio 3.6.5 C++ API
|
high performance Automatic Gain Control class More...
#include <agc2_cc.h>
Public Types | |
typedef boost::shared_ptr < agc2_cc > | sptr |
Public Member Functions | |
virtual float | attack_rate () const =0 |
virtual float | decay_rate () const =0 |
virtual float | reference () const =0 |
virtual float | gain () const =0 |
virtual float | max_gain () const =0 |
virtual void | set_attack_rate (float rate)=0 |
virtual void | set_decay_rate (float rate)=0 |
virtual void | set_reference (float reference)=0 |
virtual void | set_gain (float gain)=0 |
virtual void | set_max_gain (float max_gain)=0 |
Static Public Member Functions | |
static sptr | make (float attack_rate=1e-1, float decay_rate=1e-2, float reference=1.0, float gain=1.0, float max_gain=0.0) |
high performance Automatic Gain Control class
For Power the absolute value of the complex number is used.
virtual float gr::analog::agc2_cc::attack_rate | ( | ) | const [pure virtual] |
Implemented in gr::analog::agc2_cc_impl.
virtual float gr::analog::agc2_cc::decay_rate | ( | ) | const [pure virtual] |
Implemented in gr::analog::agc2_cc_impl.
virtual float gr::analog::agc2_cc::gain | ( | ) | const [pure virtual] |
Implemented in gr::analog::agc2_cc_impl.
static sptr gr::analog::agc2_cc::make | ( | float | attack_rate = 1e-1 , |
float | decay_rate = 1e-2 , |
||
float | reference = 1.0 , |
||
float | gain = 1.0 , |
||
float | max_gain = 0.0 |
||
) | [static] |
virtual float gr::analog::agc2_cc::max_gain | ( | ) | const [pure virtual] |
Implemented in gr::analog::agc2_cc_impl.
virtual float gr::analog::agc2_cc::reference | ( | ) | const [pure virtual] |
Implemented in gr::analog::agc2_cc_impl.
virtual void gr::analog::agc2_cc::set_attack_rate | ( | float | rate | ) | [pure virtual] |
Implemented in gr::analog::agc2_cc_impl.
virtual void gr::analog::agc2_cc::set_decay_rate | ( | float | rate | ) | [pure virtual] |
Implemented in gr::analog::agc2_cc_impl.
virtual void gr::analog::agc2_cc::set_gain | ( | float | gain | ) | [pure virtual] |
Implemented in gr::analog::agc2_cc_impl.
virtual void gr::analog::agc2_cc::set_max_gain | ( | float | max_gain | ) | [pure virtual] |
Implemented in gr::analog::agc2_cc_impl.
virtual void gr::analog::agc2_cc::set_reference | ( | float | reference | ) | [pure virtual] |
Implemented in gr::analog::agc2_cc_impl.