 |
GNU Radio Manual and C++ API Reference
3.8.2.0
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
23 #ifndef INCLUDED_ANALOG_PWR_SQUELCH_FF_H
24 #define INCLUDED_ANALOG_PWR_SQUELCH_FF_H
41 virtual bool mute()
const = 0;
45 typedef boost::shared_ptr<pwr_squelch_ff>
sptr;
61 static sptr make(
double db,
double alpha = 0.0001,
int ramp = 0,
bool gate =
false);
69 virtual int ramp()
const = 0;
71 virtual bool gate()
const = 0;
virtual void set_ramp(int ramp)=0
virtual void set_threshold(double db)=0
virtual void set_alpha(double alpha)=0
virtual bool unmuted() const =0
basic squelch block; to be subclassed for other squelches.
Definition: squelch_base_ff.h:37
virtual std::vector< float > squelch_range() const =0
virtual double threshold() const =0
#define ANALOG_API
Definition: gr-analog/include/gnuradio/analog/api.h:30
virtual void update_state(const float &in)=0
The abstract base class for all 'terminal' processing blocks.
Definition: block.h:72
boost::shared_ptr< pwr_squelch_ff > sptr
Definition: pwr_squelch_ff.h:45
virtual bool gate() const =0
virtual void set_gate(bool gate)=0
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
static sptr make(double db, double alpha=0.0001, int ramp=0, bool gate=false)
Make power-based squelch block.
gate or zero output when input power below threshold
Definition: pwr_squelch_ff.h:38
virtual bool mute() const =0
virtual int ramp() const =0