GNU Radio 3.6.5 C++ API
|
#include <agc2.h>
Public Member Functions | |
agc2_ff (float attack_rate=1e-1, float decay_rate=1e-2, float reference=1.0, float gain=1.0, float max_gain=0.0) | |
float | attack_rate () const |
float | decay_rate () const |
float | reference () const |
float | gain () const |
float | max_gain () const |
void | set_attack_rate (float rate) |
void | set_decay_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 | _attack_rate |
float | _decay_rate |
float | _reference |
float | _gain |
float | _max_gain |
gr::analog::kernel::agc2_ff::agc2_ff | ( | float | attack_rate = 1e-1 , |
float | decay_rate = 1e-2 , |
||
float | reference = 1.0 , |
||
float | gain = 1.0 , |
||
float | max_gain = 0.0 |
||
) | [inline] |
float gr::analog::kernel::agc2_ff::attack_rate | ( | ) | const [inline] |
Reimplemented in gr::analog::agc2_ff_impl.
float gr::analog::kernel::agc2_ff::decay_rate | ( | ) | const [inline] |
Reimplemented in gr::analog::agc2_ff_impl.
float gr::analog::kernel::agc2_ff::gain | ( | ) | const [inline] |
Reimplemented in gr::analog::agc2_ff_impl.
float gr::analog::kernel::agc2_ff::max_gain | ( | ) | const [inline] |
Reimplemented in gr::analog::agc2_ff_impl.
float gr::analog::kernel::agc2_ff::reference | ( | ) | const [inline] |
Reimplemented in gr::analog::agc2_ff_impl.
float gr::analog::kernel::agc2_ff::scale | ( | float | input | ) | [inline] |
void gr::analog::kernel::agc2_ff::scaleN | ( | float | output[], |
const float | input[], | ||
unsigned | n | ||
) | [inline] |
void gr::analog::kernel::agc2_ff::set_attack_rate | ( | float | rate | ) | [inline] |
Reimplemented in gr::analog::agc2_ff_impl.
void gr::analog::kernel::agc2_ff::set_decay_rate | ( | float | rate | ) | [inline] |
Reimplemented in gr::analog::agc2_ff_impl.
void gr::analog::kernel::agc2_ff::set_gain | ( | float | gain | ) | [inline] |
Reimplemented in gr::analog::agc2_ff_impl.
void gr::analog::kernel::agc2_ff::set_max_gain | ( | float | max_gain | ) | [inline] |
Reimplemented in gr::analog::agc2_ff_impl.
void gr::analog::kernel::agc2_ff::set_reference | ( | float | reference | ) | [inline] |
Reimplemented in gr::analog::agc2_ff_impl.
float gr::analog::kernel::agc2_ff::_attack_rate [protected] |
float gr::analog::kernel::agc2_ff::_decay_rate [protected] |
float gr::analog::kernel::agc2_ff::_gain [protected] |
float gr::analog::kernel::agc2_ff::_max_gain [protected] |
float gr::analog::kernel::agc2_ff::_reference [protected] |