GNU Radio 3.6.5 C++ API
|
control scanning and record frequency domain statistics More...
#include <bin_statistics_f.h>
Public Types | |
typedef boost::shared_ptr < bin_statistics_f > | sptr |
Static Public Member Functions | |
static sptr | make (unsigned int vlen, gr_msg_queue_sptr msgq, gr_feval_dd *tune, size_t tune_delay, size_t dwell_delay) |
Protected Member Functions | |
virtual size_t | vlen () const =0 |
virtual double | center_freq () const =0 |
virtual gr_msg_queue_sptr | msgq () const =0 |
virtual void | reset_stats ()=0 |
virtual void | accrue_stats (const float *input)=0 |
virtual void | send_stats ()=0 |
Protected Attributes | |
std::vector< float > | d_max |
control scanning and record frequency domain statistics
virtual void gr::blocks::bin_statistics_f::accrue_stats | ( | const float * | input | ) | [protected, pure virtual] |
Implemented in gr::blocks::bin_statistics_f_impl.
virtual double gr::blocks::bin_statistics_f::center_freq | ( | ) | const [protected, pure virtual] |
Implemented in gr::blocks::bin_statistics_f_impl.
static sptr gr::blocks::bin_statistics_f::make | ( | unsigned int | vlen, |
gr_msg_queue_sptr | msgq, | ||
gr_feval_dd * | tune, | ||
size_t | tune_delay, | ||
size_t | dwell_delay | ||
) | [static] |
Build a bin statistics block. See qa_bin_statistics.py and gr-uhd/examples/python/usrp_spectrum_sense.py for examples of its use, specifically how to use the callback function.
vlen | vector length |
msgq | message queue |
tune | a gr_feval_dd callback function |
tune_delay | number of samples for the tune delay |
dwell_delay | number of samples for the dwell delay |
virtual gr_msg_queue_sptr gr::blocks::bin_statistics_f::msgq | ( | ) | const [protected, pure virtual] |
Implemented in gr::blocks::bin_statistics_f_impl.
virtual void gr::blocks::bin_statistics_f::reset_stats | ( | ) | [protected, pure virtual] |
Implemented in gr::blocks::bin_statistics_f_impl.
virtual void gr::blocks::bin_statistics_f::send_stats | ( | ) | [protected, pure virtual] |
Implemented in gr::blocks::bin_statistics_f_impl.
virtual size_t gr::blocks::bin_statistics_f::vlen | ( | ) | const [protected, pure virtual] |
Implemented in gr::blocks::bin_statistics_f_impl.
std::vector<float> gr::blocks::bin_statistics_f::d_max [protected] |
Reimplemented in gr::blocks::bin_statistics_f_impl.