GNU Radio 3.7.1 C++ API
|
gate or zero output when input power below threshold More...
#include <pwr_squelch_ff.h>
Public Types | |
typedef boost::shared_ptr < pwr_squelch_ff > | sptr |
Public Member Functions | |
virtual std::vector< float > | squelch_range () const =0 |
virtual double | threshold () const =0 |
virtual void | set_threshold (double db)=0 |
virtual void | set_alpha (double alpha)=0 |
virtual int | ramp () const =0 |
virtual void | set_ramp (int ramp)=0 |
virtual bool | gate () const =0 |
virtual void | set_gate (bool gate)=0 |
virtual bool | unmuted () const =0 |
Static Public Member Functions | |
static sptr | make (double db, double alpha=0.0001, int ramp=0, bool gate=false) |
Make power-based squelch block. | |
Protected Member Functions | |
virtual void | update_state (const float &in)=0 |
virtual bool | mute () const =0 |
gate or zero output when input power below threshold
virtual bool gr::analog::pwr_squelch_ff::gate | ( | ) | const [pure virtual] |
Implements gr::analog::squelch_base_ff.
static sptr gr::analog::pwr_squelch_ff::make | ( | double | db, |
double | alpha = 0.0001 , |
||
int | ramp = 0 , |
||
bool | gate = false |
||
) | [static] |
Make power-based squelch block.
db | threshold (in dB) for power squelch |
alpha | Gain of averaging filter |
ramp | sets response characteristic. |
gate | if true, no output if no squelch tone. if false, output 0's if no squelch tone. |
virtual bool gr::analog::pwr_squelch_ff::mute | ( | ) | const [protected, pure virtual] |
Implements gr::analog::squelch_base_ff.
virtual int gr::analog::pwr_squelch_ff::ramp | ( | ) | const [pure virtual] |
Implements gr::analog::squelch_base_ff.
virtual void gr::analog::pwr_squelch_ff::set_alpha | ( | double | alpha | ) | [pure virtual] |
virtual void gr::analog::pwr_squelch_ff::set_gate | ( | bool | gate | ) | [pure virtual] |
Implements gr::analog::squelch_base_ff.
virtual void gr::analog::pwr_squelch_ff::set_ramp | ( | int | ramp | ) | [pure virtual] |
Implements gr::analog::squelch_base_ff.
virtual void gr::analog::pwr_squelch_ff::set_threshold | ( | double | db | ) | [pure virtual] |
virtual std::vector<float> gr::analog::pwr_squelch_ff::squelch_range | ( | ) | const [pure virtual] |
Implements gr::analog::squelch_base_ff.
virtual double gr::analog::pwr_squelch_ff::threshold | ( | ) | const [pure virtual] |
virtual bool gr::analog::pwr_squelch_ff::unmuted | ( | ) | const [pure virtual] |
Implements gr::analog::squelch_base_ff.
virtual void gr::analog::pwr_squelch_ff::update_state | ( | const float & | in | ) | [protected, pure virtual] |
Implements gr::analog::squelch_base_ff.