GNU Radio 3.6.5 C++ API

gr::analog::pwr_squelch_ff Class Reference

gate or zero output when input power below threshold More...

#include <pwr_squelch_ff.h>

Inheritance diagram for gr::analog::pwr_squelch_ff:
gr::analog::squelch_base_ff gr_block gr_block gr_basic_block gr_basic_block gr_msg_accepter gr_msg_accepter gruel::msg_accepter gruel::msg_accepter gr::analog::pwr_squelch_ff_impl

List of all members.

Public Types

typedef boost::shared_ptr
< pwr_squelch_ff

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

Detailed Description

gate or zero output when input power below threshold

Member Typedef Documentation

Member Function Documentation

virtual bool gr::analog::pwr_squelch_ff::gate ( ) const [pure virtual]
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.

dbthreshold (in dB) for power squelch
alphaGain of averaging filter
virtual bool gr::analog::pwr_squelch_ff::mute ( ) const [protected, pure virtual]
virtual int gr::analog::pwr_squelch_ff::ramp ( ) const [pure virtual]
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]
virtual void gr::analog::pwr_squelch_ff::set_ramp ( int  ramp) [pure virtual]
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]
virtual double gr::analog::pwr_squelch_ff::threshold ( ) const [pure virtual]
virtual bool gr::analog::pwr_squelch_ff::unmuted ( ) const [pure virtual]
virtual void gr::analog::pwr_squelch_ff::update_state ( const float &  in) [protected, pure virtual]

The documentation for this class was generated from the following file: