GNU Radio 3.6.5 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.
Implemented in gr::analog::pwr_squelch_ff_impl.
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 | |
gate |
virtual bool gr::analog::pwr_squelch_ff::mute | ( | ) | const [protected, pure virtual] |
Implements gr::analog::squelch_base_ff.
Implemented in gr::analog::pwr_squelch_ff_impl.
virtual int gr::analog::pwr_squelch_ff::ramp | ( | ) | const [pure virtual] |
Implements gr::analog::squelch_base_ff.
Implemented in gr::analog::pwr_squelch_ff_impl.
virtual void gr::analog::pwr_squelch_ff::set_alpha | ( | double | alpha | ) | [pure virtual] |
Implemented in gr::analog::pwr_squelch_ff_impl.
virtual void gr::analog::pwr_squelch_ff::set_gate | ( | bool | gate | ) | [pure virtual] |
Implements gr::analog::squelch_base_ff.
Implemented in gr::analog::pwr_squelch_ff_impl.
virtual void gr::analog::pwr_squelch_ff::set_ramp | ( | int | ramp | ) | [pure virtual] |
Implements gr::analog::squelch_base_ff.
Implemented in gr::analog::pwr_squelch_ff_impl.
virtual void gr::analog::pwr_squelch_ff::set_threshold | ( | double | db | ) | [pure virtual] |
Implemented in gr::analog::pwr_squelch_ff_impl.
virtual std::vector<float> gr::analog::pwr_squelch_ff::squelch_range | ( | ) | const [pure virtual] |
Implements gr::analog::squelch_base_ff.
Implemented in gr::analog::pwr_squelch_ff_impl.
virtual double gr::analog::pwr_squelch_ff::threshold | ( | ) | const [pure virtual] |
Implemented in gr::analog::pwr_squelch_ff_impl.
virtual bool gr::analog::pwr_squelch_ff::unmuted | ( | ) | const [pure virtual] |
Implements gr::analog::squelch_base_ff.
Implemented in gr::analog::pwr_squelch_ff_impl.
virtual void gr::analog::pwr_squelch_ff::update_state | ( | const float & | in | ) | [protected, pure virtual] |
Implements gr::analog::squelch_base_ff.
Implemented in gr::analog::pwr_squelch_ff_impl.