11 #ifndef INCLUDED_ANALOG_CTCSS_SQUELCH_FF_H
12 #define INCLUDED_ANALOG_CTCSS_SQUELCH_FF_H
29 bool mute()
const override = 0;
33 typedef std::shared_ptr<ctcss_squelch_ff>
sptr;
47 static sptr make(
int rate,
float freq,
float level,
int len,
int ramp,
bool gate);
50 virtual float level()
const = 0;
52 virtual int len()
const = 0;
56 int ramp()
const override = 0;
58 bool gate()
const override = 0;
gate or zero output if CTCSS tone not present
Definition: ctcss_squelch_ff.h:26
bool gate() const override=0
virtual void set_frequency(float frequency)=0
bool mute() const override=0
std::vector< float > squelch_range() const override=0
void set_gate(bool gate) override=0
bool unmuted() const override=0
virtual int len() const =0
virtual float frequency() const =0
int ramp() const override=0
std::shared_ptr< ctcss_squelch_ff > sptr
Definition: ctcss_squelch_ff.h:33
void set_ramp(int ramp) override=0
void update_state(const float &in) override=0
virtual void set_level(float level)=0
virtual float level() const =0
static sptr make(int rate, float freq, float level, int len, int ramp, bool gate)
Make CTCSS tone squelch block.
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