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;
53 static sptr make(
int length,
short scale,
55 unsigned int vlen = 1);
60 virtual int length()
const = 0;
65 virtual short scale()
const = 0;
70 virtual void set_length_and_scale(
int length,
short scale) = 0;
75 virtual void set_length(
int length) = 0;
80 virtual void set_scale(
short scale) = 0;
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
output is the moving sum of the last N samples, scaled by the scale factor
Definition: moving_average_ss.h:38
PMT_API size_t length(const pmt_t &v)
Return the number of elements in v.
boost::shared_ptr< moving_average_ss > sptr
Definition: moving_average_ss.h:42