11 #ifndef INCLUDED_ANALOG_PWR_SQUELCH_FF_H
12 #define INCLUDED_ANALOG_PWR_SQUELCH_FF_H
29 bool mute()
const override = 0;
33 typedef std::shared_ptr<pwr_squelch_ff>
sptr;
49 static sptr make(
double db,
double alpha = 0.0001,
int ramp = 0,
bool gate =
false);
57 int ramp()
const override = 0;
59 bool gate()
const override = 0;
gate or zero output when input power below threshold
Definition: pwr_squelch_ff.h:26
virtual void set_alpha(double alpha)=0
bool mute() const override=0
void set_gate(bool gate) override=0
std::shared_ptr< pwr_squelch_ff > sptr
Definition: pwr_squelch_ff.h:33
void set_ramp(int ramp) override=0
std::vector< float > squelch_range() const override=0
virtual double threshold() const =0
virtual void set_threshold(double db)=0
bool unmuted() const override=0
static sptr make(double db, double alpha=0.0001, int ramp=0, bool gate=false)
Make power-based squelch block.
bool gate() const override=0
void update_state(const float &in) override=0
int ramp() const override=0
basic squelch block; to be subclassed for other squelches.
Definition: squelch_base_ff.h:25
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:63
#define ANALOG_API
Definition: gr-analog/include/gnuradio/analog/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29