GNU Radio 3.7.1 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, 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] |
virtual double gr::blocks::bin_statistics_f::center_freq | ( | ) | const [protected, pure virtual] |
static sptr gr::blocks::bin_statistics_f::make | ( | unsigned int | vlen, |
gr::msg_queue::sptr | msgq, | ||
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 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] |
virtual void gr::blocks::bin_statistics_f::reset_stats | ( | ) | [protected, pure virtual] |
virtual void gr::blocks::bin_statistics_f::send_stats | ( | ) | [protected, pure virtual] |
virtual size_t gr::blocks::bin_statistics_f::vlen | ( | ) | const [protected, pure virtual] |
std::vector<float> gr::blocks::bin_statistics_f::d_max [protected] |