23 #ifndef INCLUDED_BLOCKS_KEEP_M_IN_N_H 24 #define INCLUDED_BLOCKS_KEEP_M_IN_N_H 40 typedef boost::shared_ptr<keep_m_in_n>
sptr;
50 static sptr make(
size_t itemsize,
int m,
int n,
int offset);
52 virtual void set_m(
int m) = 0;
53 virtual void set_n(
int n) = 0;
54 virtual void set_offset(
int offset) = 0;
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:30
boost::shared_ptr< keep_m_in_n > sptr
Definition: keep_m_in_n.h:40
decimate a stream, keeping the first m items out of every n starting after offset items...
Definition: keep_m_in_n.h:36
The abstract base class for all 'terminal' processing blocks.A signal processing flow is constructed ...
Definition: block.h:71
BLOCKS_API size_t itemsize(vector_type type)