GNU Radio 3.4.2 C++ API
gr_pwr_squelch_cc Class Reference

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

#include <gr_pwr_squelch_cc.h>

Inheritance diagram for gr_pwr_squelch_cc:

List of all members.

Public Member Functions

std::vector< float > squelch_range () const
double threshold () const
void set_threshold (double db)
void set_alpha (double alpha)

Protected Member Functions

virtual void update_state (const gr_complex &in)
virtual bool mute () const

Friends

gr_pwr_squelch_cc_sptr gr_make_pwr_squelch_cc (double db, double alpha, int ramp, bool gate)

Detailed Description

gate or zero output when input power below threshold


Member Function Documentation

virtual bool gr_pwr_squelch_cc::mute ( ) const [inline, protected, virtual]

Reimplemented from gr_squelch_base_cc.

void gr_pwr_squelch_cc::set_alpha ( double  alpha) [inline]
void gr_pwr_squelch_cc::set_threshold ( double  db) [inline]
std::vector<float> gr_pwr_squelch_cc::squelch_range ( ) const [virtual]

Implements gr_squelch_base_cc.

double gr_pwr_squelch_cc::threshold ( ) const [inline]
virtual void gr_pwr_squelch_cc::update_state ( const gr_complex in) [protected, virtual]

Reimplemented from gr_squelch_base_cc.


Friends And Related Function Documentation

gr_pwr_squelch_cc_sptr gr_make_pwr_squelch_cc ( double  db,
double  alpha,
int  ramp,
bool  gate 
) [friend]

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