 |
GNU Radio Manual and C++ API Reference
3.9.1.0
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
11 #ifndef INCLUDED_ANALOG_PWR_SQUELCH_CC_H
12 #define INCLUDED_ANALOG_PWR_SQUELCH_CC_H
28 void update_state(
const gr_complex& in)
override = 0;
29 bool mute()
const override = 0;
33 typedef std::shared_ptr<pwr_squelch_cc>
sptr;
49 static sptr make(
double db,
double alpha = 0.0001,
int ramp = 0,
bool gate =
false);
51 std::vector<float> squelch_range()
const override = 0;
53 virtual double threshold()
const = 0;
54 virtual void set_threshold(
double db) = 0;
55 virtual void set_alpha(
double alpha) = 0;
57 int ramp()
const override = 0;
58 void set_ramp(
int ramp)
override = 0;
59 bool gate()
const override = 0;
60 void set_gate(
bool gate)
override = 0;
61 bool unmuted()
const override = 0;
std::shared_ptr< pwr_squelch_cc > sptr
Definition: pwr_squelch_cc.h:33
#define ANALOG_API
Definition: gr-analog/include/gnuradio/analog/api.h:18
basic squelch block; to be subclassed for other squelches.
Definition: squelch_base_cc.h:24
std::complex< float > gr_complex
Definition: gr_complex.h:15
The abstract base class for all 'terminal' processing blocks.
Definition: block.h:59
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:29
gate or zero output when input power below threshold
Definition: pwr_squelch_cc.h:25