 |
GNU Radio Manual and C++ API Reference
3.10.5.1
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
11 #ifndef INCLUDED_BLOCKS_KEEP_M_IN_N_H
12 #define INCLUDED_BLOCKS_KEEP_M_IN_N_H
28 typedef std::shared_ptr<keep_m_in_n>
sptr;
38 static sptr make(
size_t itemsize,
int m,
int n,
int offset);
40 virtual void set_m(
int m) = 0;
41 virtual void set_n(
int n) = 0;
42 virtual void set_offset(
int offset) = 0;
std::shared_ptr< keep_m_in_n > sptr
Definition: keep_m_in_n.h:28
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
GR_RUNTIME_API size_t itemsize(types::vector_type type)
decimate a stream, keeping the first m items out of every n starting after offset items.
Definition: keep_m_in_n.h:24
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:62
GNU Radio logging wrapper.
Definition: basic_block.h:29