11 #ifndef INCLUDED_BLOCKS_KEEP_ONE_IN_N_H
12 #define INCLUDED_BLOCKS_KEEP_ONE_IN_N_H
28 typedef std::shared_ptr<keep_one_in_n>
sptr;
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:63
decimate a stream, keeping the last item out of every n.
Definition: keep_one_in_n.h:25
static sptr make(size_t itemsize, int n)
std::shared_ptr< keep_one_in_n > sptr
Definition: keep_one_in_n.h:28
virtual void set_n(int n)=0
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
GR_RUNTIME_API size_t itemsize(types::vector_type type)
GNU Radio logging wrapper.
Definition: basic_block.h:29