GNU Radio 3.6.5 C++ API
|
#include <agc2_ff_impl.h>
Public Member Functions | |
agc2_ff_impl (float attack_rate=1e-1, float decay_rate=1e-2, float reference=1.0, float gain=1.0, float max_gain=0.0) | |
~agc2_ff_impl () | |
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) |
int | work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) |
just like gr_block::general_work, only this arranges to call consume_each for you |
gr::analog::agc2_ff_impl::agc2_ff_impl | ( | float | attack_rate = 1e-1 , |
float | decay_rate = 1e-2 , |
||
float | reference = 1.0 , |
||
float | gain = 1.0 , |
||
float | max_gain = 0.0 |
||
) |
gr::analog::agc2_ff_impl::~agc2_ff_impl | ( | ) |
float gr::analog::agc2_ff_impl::attack_rate | ( | ) | const [inline] |
Reimplemented from gr::analog::kernel::agc2_ff.
float gr::analog::agc2_ff_impl::decay_rate | ( | ) | const [inline] |
Reimplemented from gr::analog::kernel::agc2_ff.
float gr::analog::agc2_ff_impl::gain | ( | ) | const [inline] |
Reimplemented from gr::analog::kernel::agc2_ff.
float gr::analog::agc2_ff_impl::max_gain | ( | ) | const [inline] |
Reimplemented from gr::analog::kernel::agc2_ff.
float gr::analog::agc2_ff_impl::reference | ( | ) | const [inline] |
Reimplemented from gr::analog::kernel::agc2_ff.
void gr::analog::agc2_ff_impl::set_attack_rate | ( | float | rate | ) | [inline] |
Reimplemented from gr::analog::kernel::agc2_ff.
void gr::analog::agc2_ff_impl::set_decay_rate | ( | float | rate | ) | [inline] |
Reimplemented from gr::analog::kernel::agc2_ff.
void gr::analog::agc2_ff_impl::set_gain | ( | float | gain | ) | [inline] |
Reimplemented from gr::analog::kernel::agc2_ff.
void gr::analog::agc2_ff_impl::set_max_gain | ( | float | max_gain | ) | [inline] |
Reimplemented from gr::analog::kernel::agc2_ff.
void gr::analog::agc2_ff_impl::set_reference | ( | float | reference | ) | [inline] |
Reimplemented from gr::analog::kernel::agc2_ff.
int gr::analog::agc2_ff_impl::work | ( | int | noutput_items, |
gr_vector_const_void_star & | input_items, | ||
gr_vector_void_star & | output_items | ||
) | [virtual] |
just like gr_block::general_work, only this arranges to call consume_each for you
The user must override work to define the signal processing code
Implements gr_sync_block.