23 #ifndef INCLUDED_ANALOG_CTCSS_SQUELCH_FF_H
24 #define INCLUDED_ANALOG_CTCSS_SQUELCH_FF_H
41 virtual void update_state(
const float &in) = 0;
42 virtual bool mute()
const = 0;
59 static sptr make(
int rate,
float freq,
float level,
60 int len,
int ramp,
bool gate);
62 virtual std::vector<float> squelch_range()
const = 0;
63 virtual float level()
const = 0;
64 virtual void set_level(
float level) = 0;
65 virtual int len()
const = 0;
67 virtual int ramp()
const = 0;
68 virtual void set_ramp(
int ramp) = 0;
69 virtual bool gate()
const = 0;
70 virtual void set_gate(
bool gate) = 0;
71 virtual bool unmuted()
const = 0;
basic squelch block; to be subclassed for other squelches.
Definition: squelch_base_ff.h:36
shared_ptr documentation stub
Definition: shared_ptr_docstub.h:15
gate or zero output if CTCSS tone not present
Definition: ctcss_squelch_ff.h:37
boost::shared_ptr< ctcss_squelch_ff > sptr
Definition: ctcss_squelch_ff.h:46
#define ANALOG_API
Definition: gr-analog/include/gnuradio/analog/api.h:30
The abstract base class for all 'terminal' processing blocks.A signal processing flow is constructed ...
Definition: block.h:60