GNU Radio 3.6.5 C++ API

gr_pwr_squelch_ff Class Reference

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

#include <gr_pwr_squelch_ff.h>

Inheritance diagram for gr_pwr_squelch_ff:
gr_squelch_base_ff gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter

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 float &in)
virtual bool mute () const

Friends

GR_CORE_API gr_pwr_squelch_ff_sptr gr_make_pwr_squelch_ff (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_ff::mute ( ) const [inline, protected, virtual]

Reimplemented from gr_squelch_base_ff.

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

Implements gr_squelch_base_ff.

double gr_pwr_squelch_ff::threshold ( ) const [inline]
virtual void gr_pwr_squelch_ff::update_state ( const float &  in) [protected, virtual]

Reimplemented from gr_squelch_base_ff.


Friends And Related Function Documentation

GR_CORE_API gr_pwr_squelch_ff_sptr gr_make_pwr_squelch_ff ( double  db,
double  alpha,
int  ramp,
bool  gate 
) [friend]

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