25 #ifndef INCLUDED_BLOCKS_MOVING_AVERAGE_II_H
26 #define INCLUDED_BLOCKS_MOVING_AVERAGE_II_H
42 typedef boost::shared_ptr<moving_average_ii>
sptr;
52 static sptr make(
int length,
int scale,
58 virtual int length()
const = 0;
63 virtual int scale()
const = 0;
68 virtual void set_length_and_scale(
int length,
int scale) = 0;
73 virtual void set_length(
int length) = 0;
78 virtual void set_scale(
int scale) = 0;
boost::shared_ptr< moving_average_ii > sptr
Definition: moving_average_ii.h:42
Include this header to use the message passing features.
Definition: logger.h:131
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:30
synchronous 1:1 input to output with historyOverride work to provide the signal processing implementa...
Definition: sync_block.h:37
PMT_API size_t length(const pmt_t &v)
Return the number of elements in v.
output is the moving sum of the last N samples, scaled by the scale factor
Definition: moving_average_ii.h:38