GNU Radio 3.6.5 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:
gr_sync_block gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter gr::blocks::bin_statistics_f_impl

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, 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

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,
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.

Parameters:
vlenvector length
msgqmessage queue
tunea gr_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


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