GNU Radio 3.7.1 C++ API
gr::blocks::bin_statistics_f Class Reference

control scanning and record frequency domain statistics More...

#include <bin_statistics_f.h>

Inheritance diagram for gr::blocks::bin_statistics_f:

List of all members.

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

Detailed Description

control scanning and record frequency domain statistics


Member Typedef Documentation


Member Function Documentation

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.

Parameters:
vlenvector length
msgqmessage queue
tunea feval_dd callback function
tune_delaynumber of samples for the tune delay
dwell_delaynumber 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]

Member Data Documentation

std::vector<float> gr::blocks::bin_statistics_f::d_max [protected]

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