GNU Radio 3.6.5 C++ API

gr::analog::simple_squelch_cc Class Reference

simple squelch block based on average signal power and threshold in dB. More...

#include <simple_squelch_cc.h>

Inheritance diagram for gr::analog::simple_squelch_cc:
gr_sync_block gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter gr::analog::simple_squelch_cc_impl

List of all members.

Public Types

typedef boost::shared_ptr
< simple_squelch_cc
sptr

Public Member Functions

virtual bool unmuted () const =0
virtual void set_alpha (double alpha)=0
virtual void set_threshold (double decibels)=0
virtual double threshold () const =0
virtual std::vector< float > squelch_range () const =0

Static Public Member Functions

static sptr make (double threshold_db, double alpha)
 Make a simple squelch block.

Detailed Description

simple squelch block based on average signal power and threshold in dB.


Member Typedef Documentation


Member Function Documentation

static sptr gr::analog::simple_squelch_cc::make ( double  threshold_db,
double  alpha 
) [static]

Make a simple squelch block.

Parameters:
threshold_dbThreshold for muting.
alphaGain parameter for the running average filter.
virtual void gr::analog::simple_squelch_cc::set_alpha ( double  alpha) [pure virtual]
virtual void gr::analog::simple_squelch_cc::set_threshold ( double  decibels) [pure virtual]
virtual std::vector<float> gr::analog::simple_squelch_cc::squelch_range ( ) const [pure virtual]
virtual double gr::analog::simple_squelch_cc::threshold ( ) const [pure virtual]
virtual bool gr::analog::simple_squelch_cc::unmuted ( ) const [pure virtual]

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