GNU Radio 3.6.5 C++ API

gr::analog::simple_squelch_cc_impl Class Reference

#include <simple_squelch_cc_impl.h>

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

List of all members.

Public Member Functions

 simple_squelch_cc_impl (double threshold_db, double alpha)
 ~simple_squelch_cc_impl ()
bool unmuted () const
void set_alpha (double alpha)
void set_threshold (double decibels)
double threshold () const
std::vector< float > squelch_range () const
int work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
 just like gr_block::general_work, only this arranges to call consume_each for you

Constructor & Destructor Documentation

gr::analog::simple_squelch_cc_impl::simple_squelch_cc_impl ( double  threshold_db,
double  alpha 
gr::analog::simple_squelch_cc_impl::~simple_squelch_cc_impl ( )

Member Function Documentation

void gr::analog::simple_squelch_cc_impl::set_alpha ( double  alpha) [virtual]
void gr::analog::simple_squelch_cc_impl::set_threshold ( double  decibels) [virtual]
std::vector<float> gr::analog::simple_squelch_cc_impl::squelch_range ( ) const [virtual]
double gr::analog::simple_squelch_cc_impl::threshold ( ) const [virtual]
bool gr::analog::simple_squelch_cc_impl::unmuted ( ) const [inline, virtual]
int gr::analog::simple_squelch_cc_impl::work ( int  noutput_items,
gr_vector_const_void_star input_items,
gr_vector_void_star output_items 
) [virtual]

just like gr_block::general_work, only this arranges to call consume_each for you

The user must override work to define the signal processing code

Implements gr_sync_block.

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