25#ifndef INCLUDED_BLOCKS_MOVING_AVERAGE_SS_H
26#define INCLUDED_BLOCKS_MOVING_AVERAGE_SS_H
42 typedef boost::shared_ptr<moving_average_ss>
sptr;
55 unsigned int vlen = 1);
65 virtual short scale()
const = 0;
output is the moving sum of the last N samples, scaled by the scale factor
Definition: moving_average_ss.h:39
virtual short scale() const =0
virtual void set_length(int length)=0
boost::shared_ptr< moving_average_ss > sptr
Definition: moving_average_ss.h:42
virtual void set_length_and_scale(int length, short scale)=0
static sptr make(int length, short scale, int max_iter=4096, unsigned int vlen=1)
virtual void set_scale(short scale)=0
virtual int length() const =0
synchronous 1:1 input to output with history
Definition: sync_block.h:38
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:30
Include this header to use the message passing features.
Definition: basic_block.h:45
PMT_API size_t length(const pmt_t &v)
Return the number of elements in v.