23 #ifndef INCLUDED_ANALOG_CTCSS_SQUELCH_FF_H 24 #define INCLUDED_ANALOG_CTCSS_SQUELCH_FF_H 40 virtual void update_state(
const float& in) = 0;
41 virtual bool mute()
const = 0;
45 typedef boost::shared_ptr<ctcss_squelch_ff>
sptr;
59 static sptr make(
int rate,
float freq,
float level,
int len,
int ramp,
bool gate);
61 virtual std::vector<float> squelch_range()
const = 0;
62 virtual float level()
const = 0;
63 virtual void set_level(
float level) = 0;
64 virtual int len()
const = 0;
65 virtual float frequency()
const = 0;
66 virtual void set_frequency(
float frequency) = 0;
68 virtual int ramp()
const = 0;
69 virtual void set_ramp(
int ramp) = 0;
70 virtual bool gate()
const = 0;
71 virtual void set_gate(
bool gate) = 0;
72 virtual bool unmuted()
const = 0;
basic squelch block; to be subclassed for other squelches.
Definition: squelch_base_ff.h:36
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
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:45
#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:71