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;
53 static sptr make(
int length,
int scale,
55 unsigned int vlen = 1);
60 virtual int length()
const = 0;
65 virtual int scale()
const = 0;
70 virtual void set_length_and_scale(
int length,
int scale) = 0;
75 virtual void set_length(
int length) = 0;
80 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:695
#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