GNU Radio 3.6.5 C++ API
|
#include <probe_avg_mag_sqrd_c_impl.h>
Public Member Functions | |
probe_avg_mag_sqrd_c_impl (double threshold_db, double alpha=0.0001) | |
~probe_avg_mag_sqrd_c_impl () | |
bool | unmuted () const |
double | level () const |
double | threshold () const |
void | set_alpha (double alpha) |
void | set_threshold (double decibels) |
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::probe_avg_mag_sqrd_c_impl::probe_avg_mag_sqrd_c_impl | ( | double | threshold_db, |
double | alpha = 0.0001 |
||
) |
gr::analog::probe_avg_mag_sqrd_c_impl::~probe_avg_mag_sqrd_c_impl | ( | ) |
double gr::analog::probe_avg_mag_sqrd_c_impl::level | ( | ) | const [inline, virtual] |
Implements gr::analog::probe_avg_mag_sqrd_c.
void gr::analog::probe_avg_mag_sqrd_c_impl::set_alpha | ( | double | alpha | ) | [virtual] |
Implements gr::analog::probe_avg_mag_sqrd_c.
void gr::analog::probe_avg_mag_sqrd_c_impl::set_threshold | ( | double | decibels | ) | [virtual] |
Implements gr::analog::probe_avg_mag_sqrd_c.
double gr::analog::probe_avg_mag_sqrd_c_impl::threshold | ( | ) | const [virtual] |
Implements gr::analog::probe_avg_mag_sqrd_c.
bool gr::analog::probe_avg_mag_sqrd_c_impl::unmuted | ( | ) | const [inline, virtual] |
Implements gr::analog::probe_avg_mag_sqrd_c.
int gr::analog::probe_avg_mag_sqrd_c_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.