GNU Radio 3.6.5.1 C++ API
gr::blocks::rms_ff_impl Class Reference

RMS average power. More...

#include <rms_ff_impl.h>

Inheritance diagram for gr::blocks::rms_ff_impl:
gr::blocks::rms_ff gr_sync_block gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter

Public Member Functions

 rms_ff_impl (double alpha=0.0001)
 ~rms_ff_impl ()
void set_alpha (double alpha)
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

Additional Inherited Members

- Public Types inherited from gr::blocks::rms_ff
typedef boost::shared_ptr< rms_ffsptr
- Static Public Member Functions inherited from gr::blocks::rms_ff
static sptr make (double alpha=0.0001)
 Make an RMS calc. block.
- Protected Types inherited from gr_basic_block
enum  vcolor { WHITE, GREY, BLACK }
- Protected Member Functions inherited from gr_sync_block
 gr_sync_block (void)
 gr_sync_block (const std::string &name, gr_io_signature_sptr input_signature, gr_io_signature_sptr output_signature)
- Protected Attributes inherited from gr_block
std::vector< long > d_max_output_buffer
std::vector< long > d_min_output_buffer
gruel::mutex d_setlock
gr_logger_ptr d_logger
gr_logger_ptr d_debug_logger

Detailed Description

RMS average power.

Constructor & Destructor Documentation

gr::blocks::rms_ff_impl::rms_ff_impl ( double  alpha = 0.0001)
gr::blocks::rms_ff_impl::~rms_ff_impl ( )

Member Function Documentation

void gr::blocks::rms_ff_impl::set_alpha ( double  alpha)
virtual

Implements gr::blocks::rms_ff.

int gr::blocks::rms_ff_impl::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.


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