11 #ifndef INCLUDED_ANALOG_CTCSS_SQUELCH_FF_H
12 #define INCLUDED_ANALOG_CTCSS_SQUELCH_FF_H
28 void update_state(
const float& in)
override = 0;
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);
49 std::vector<float> squelch_range()
const override = 0;
50 virtual float level()
const = 0;
51 virtual void set_level(
float level) = 0;
52 virtual int len()
const = 0;
53 virtual float frequency()
const = 0;
54 virtual void set_frequency(
float frequency) = 0;
56 int ramp()
const override = 0;
57 void set_ramp(
int ramp)
override = 0;
58 bool gate()
const override = 0;
59 void set_gate(
bool gate)
override = 0;
60 bool unmuted()
const override = 0;
basic squelch block; to be subclassed for other squelches.
Definition: squelch_base_ff.h:24
GNU Radio logging wrapper.
Definition: basic_block.h:29
std::shared_ptr< ctcss_squelch_ff > sptr
Definition: ctcss_squelch_ff.h:33
gate or zero output if CTCSS tone not present
Definition: ctcss_squelch_ff.h:25
#define ANALOG_API
Definition: gr-analog/include/gnuradio/analog/api.h:18
The abstract base class for all 'terminal' processing blocks.A signal processing flow is constructed ...
Definition: gnuradio-runtime/include/gnuradio/block.h:62