22 #ifndef INCLUDED_GR_PROBE_AVG_MAG_SQRD_CF_H
23 #define INCLUDED_GR_PROBE_AVG_MAG_SQRD_CF_H
62 int work (
int noutput_items,
63 gr_vector_const_void_star &input_items,
64 gr_vector_void_star &output_items);
67 bool unmuted ()
const {
return d_unmuted; }
68 double level ()
const {
return d_level; }
70 double threshold()
const;
73 void set_alpha (
double alpha);
74 void set_threshold (
double decibels);
double level() const
Definition: gr_probe_avg_mag_sqrd_cf.h:68
Definition: gr_sync_block.h:27
compute avg magnitude squared.input: gr_complex output: gr_float
Definition: gr_probe_avg_mag_sqrd_cf.h:47
shared_ptr documentation stub
Definition: shared_ptr_docstub.h:15
#define GR_CORE_API
Definition: gr_core_api.h:30
bool unmuted() const
Definition: gr_probe_avg_mag_sqrd_cf.h:67
GR_CORE_API gr_probe_avg_mag_sqrd_cf_sptr gr_make_probe_avg_mag_sqrd_cf(double threshold_db, double alpha=0.0001)
virtual 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 ...