GNU Radio 3.6.5 C++ API

gr::analog::pwr_squelch_cc Class Reference

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

#include <pwr_squelch_cc.h>

Inheritance diagram for gr::analog::pwr_squelch_cc:
gr::analog::squelch_base_cc 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_cc_impl

List of all members.

Public Types

typedef boost::shared_ptr
< pwr_squelch_cc
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 gr_complex &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_cc::gate ( ) const [pure virtual]
static sptr gr::analog::pwr_squelch_cc::make ( double  db,
double  alpha = 0.0001,
int  ramp = 0,
bool  gate = false 
) [static]

Make power-based squelch block.

Parameters:
dbthreshold (in dB) for power squelch
alphaGain of averaging filter
ramp
gate
virtual bool gr::analog::pwr_squelch_cc::mute ( ) const [protected, pure virtual]
virtual int gr::analog::pwr_squelch_cc::ramp ( ) const [pure virtual]
virtual void gr::analog::pwr_squelch_cc::set_alpha ( double  alpha) [pure virtual]
virtual void gr::analog::pwr_squelch_cc::set_gate ( bool  gate) [pure virtual]
virtual void gr::analog::pwr_squelch_cc::set_ramp ( int  ramp) [pure virtual]
virtual void gr::analog::pwr_squelch_cc::set_threshold ( double  db) [pure virtual]
virtual std::vector<float> gr::analog::pwr_squelch_cc::squelch_range ( ) const [pure virtual]
virtual double gr::analog::pwr_squelch_cc::threshold ( ) const [pure virtual]
virtual bool gr::analog::pwr_squelch_cc::unmuted ( ) const [pure virtual]
virtual void gr::analog::pwr_squelch_cc::update_state ( const gr_complex in) [protected, pure virtual]

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