GNU Radio 3.6.5 C++ API
|
decimate a stream, keeping m
items out of every n
.
More...
#include <keep_m_in_n.h>
Public Types | |
typedef boost::shared_ptr < keep_m_in_n > | sptr |
Public Member Functions | |
virtual void | set_m (int m)=0 |
virtual void | set_n (int n)=0 |
virtual void | set_offset (int offset)=0 |
Static Public Member Functions | |
static sptr | make (size_t itemsize, int m, int n, int offset) |
decimate a stream, keeping m
items out of every n
.
static sptr gr::blocks::keep_m_in_n::make | ( | size_t | itemsize, |
int | m, | ||
int | n, | ||
int | offset | ||
) | [static] |
Make a keep m in n block.
itemsize | stream itemsize |
m | number of items to take in block of n items |
n | block size in items |
offset | initial item offset into the stream |
virtual void gr::blocks::keep_m_in_n::set_m | ( | int | m | ) | [pure virtual] |
Implemented in gr::blocks::keep_m_in_n_impl.
virtual void gr::blocks::keep_m_in_n::set_n | ( | int | n | ) | [pure virtual] |
Implemented in gr::blocks::keep_m_in_n_impl.
virtual void gr::blocks::keep_m_in_n::set_offset | ( | int | offset | ) | [pure virtual] |
Implemented in gr::blocks::keep_m_in_n_impl.