GNU Radio 3.5.3.2 C++ API
gr_bin_statistics_f Class Reference

control scanning and record frequency domain statistics More...

#include <gr_bin_statistics_f.h>

Inheritance diagram for gr_bin_statistics_f:

List of all members.

Public Member Functions

 ~gr_bin_statistics_f ()
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

Protected Member Functions

size_t vlen () const
double center_freq () const
gr_msg_queue_sptr msgq () const
virtual void reset_stats ()
virtual void accrue_stats (const float *input)
virtual void send_stats ()

Protected Attributes

std::vector< float > d_max

Friends

GR_CORE_API
gr_bin_statistics_f_sptr 
gr_make_bin_statistics_f (unsigned int vlen, gr_msg_queue_sptr msgq, gr_feval_dd *tune, size_t tune_delay, size_t dwell_delay)

Detailed Description

control scanning and record frequency domain statistics


Constructor & Destructor Documentation

gr_bin_statistics_f::~gr_bin_statistics_f ( )

Member Function Documentation

virtual void gr_bin_statistics_f::accrue_stats ( const float *  input) [protected, virtual]
double gr_bin_statistics_f::center_freq ( ) const [inline, protected]
gr_msg_queue_sptr gr_bin_statistics_f::msgq ( ) const [inline, protected]
virtual void gr_bin_statistics_f::reset_stats ( ) [protected, virtual]
virtual void gr_bin_statistics_f::send_stats ( ) [protected, virtual]
size_t gr_bin_statistics_f::vlen ( ) const [inline, protected]
int gr_bin_statistics_f::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.


Friends And Related Function Documentation

GR_CORE_API gr_bin_statistics_f_sptr gr_make_bin_statistics_f ( unsigned int  vlen,
gr_msg_queue_sptr  msgq,
gr_feval_dd tune,
size_t  tune_delay,
size_t  dwell_delay 
) [friend]

Member Data Documentation


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