GNU Radio 3.6.5 C++ API
|
#include <agc_ff_impl.h>
Public Member Functions | |
agc_ff_impl (float rate=1e-4, float reference=1.0, float gain=1.0, float max_gain=0.0) | |
~agc_ff_impl () | |
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) |
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::agc_ff_impl::agc_ff_impl | ( | float | rate = 1e-4 , |
float | reference = 1.0 , |
||
float | gain = 1.0 , |
||
float | max_gain = 0.0 |
||
) |
gr::analog::agc_ff_impl::~agc_ff_impl | ( | ) |
float gr::analog::agc_ff_impl::gain | ( | ) | const [inline] |
Reimplemented from gr::analog::kernel::agc_ff.
float gr::analog::agc_ff_impl::max_gain | ( | ) | const [inline] |
Reimplemented from gr::analog::kernel::agc_ff.
float gr::analog::agc_ff_impl::rate | ( | ) | const [inline] |
Reimplemented from gr::analog::kernel::agc_ff.
float gr::analog::agc_ff_impl::reference | ( | ) | const [inline] |
Reimplemented from gr::analog::kernel::agc_ff.
void gr::analog::agc_ff_impl::set_gain | ( | float | gain | ) | [inline] |
Reimplemented from gr::analog::kernel::agc_ff.
void gr::analog::agc_ff_impl::set_max_gain | ( | float | max_gain | ) | [inline] |
Reimplemented from gr::analog::kernel::agc_ff.
void gr::analog::agc_ff_impl::set_rate | ( | float | rate | ) | [inline] |
Reimplemented from gr::analog::kernel::agc_ff.
void gr::analog::agc_ff_impl::set_reference | ( | float | reference | ) | [inline] |
Reimplemented from gr::analog::kernel::agc_ff.
int gr::analog::agc_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.