23#ifndef INCLUDED_ANALOG_CTCSS_SQUELCH_FF_H
24#define INCLUDED_ANALOG_CTCSS_SQUELCH_FF_H
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);
62 virtual float level()
const = 0;
64 virtual int len()
const = 0;
68 virtual int ramp()
const = 0;
70 virtual bool gate()
const = 0;
gate or zero output if CTCSS tone not present
Definition ctcss_squelch_ff.h:38
virtual int ramp() const =0
virtual bool gate() const =0
virtual void set_frequency(float frequency)=0
virtual void set_gate(bool gate)=0
virtual bool mute() const =0
virtual void update_state(const float &in)=0
virtual std::vector< float > squelch_range() const =0
virtual int len() const =0
virtual void set_ramp(int ramp)=0
virtual float frequency() const =0
virtual void set_level(float level)=0
virtual bool unmuted() const =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.
boost::shared_ptr< ctcss_squelch_ff > sptr
Definition ctcss_squelch_ff.h:45
basic squelch block; to be subclassed for other squelches.
Definition squelch_base_ff.h:37
The abstract base class for all 'terminal' processing blocks.
Definition block.h:72
#define ANALOG_API
Definition gr-analog/include/gnuradio/analog/api.h:30
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition basic_block.h:46