23 #ifndef INCLUDED_ANALOG_PWR_SQUELCH_CC_H
24 #define INCLUDED_ANALOG_PWR_SQUELCH_CC_H
41 virtual void update_state(
const gr_complex &in) = 0;
42 virtual bool mute()
const = 0;
57 static sptr make(
double db,
double alpha=0.0001,
58 int ramp=0,
bool gate=
false);
60 virtual std::vector<float> squelch_range()
const = 0;
62 virtual double threshold()
const = 0;
63 virtual void set_threshold(
double db) = 0;
64 virtual void set_alpha(
double alpha) = 0;
66 virtual int ramp()
const = 0;
67 virtual void set_ramp(
int ramp) = 0;
68 virtual bool gate()
const = 0;
69 virtual void set_gate(
bool gate) = 0;
70 virtual bool unmuted()
const = 0;
gate or zero output when input power below threshold
Definition: pwr_squelch_cc.h:37
shared_ptr documentation stub
Definition: shared_ptr_docstub.h:15
std::complex< float > gr_complex
Definition: gr_complex.h:27
boost::shared_ptr< pwr_squelch_cc > sptr
Definition: pwr_squelch_cc.h:46
basic squelch block; to be subclassed for other squelches.
Definition: squelch_base_cc.h:36
#define ANALOG_API
Definition: gr-analog/include/gnuradio/analog/api.h:30
The abstract base class for all 'terminal' processing blocks.A signal processing flow is constructed ...
Definition: block.h:60