GNU Radio 3.6.5 C++ API

gr::blocks::keep_m_in_n Class Reference

decimate a stream, keeping m items out of every n. More...

#include <keep_m_in_n.h>

Inheritance diagram for gr::blocks::keep_m_in_n:
gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter gr::blocks::keep_m_in_n_impl

List of all members.

Public Types

typedef boost::shared_ptr
< keep_m_in_n

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)

Detailed Description

decimate a stream, keeping m items out of every n.

Member Typedef Documentation

Member Function Documentation

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.

itemsizestream itemsize
mnumber of items to take in block of n items
nblock size in items
offsetinitial item offset into the stream
virtual void gr::blocks::keep_m_in_n::set_m ( int  m) [pure virtual]
virtual void gr::blocks::keep_m_in_n::set_n ( int  n) [pure virtual]
virtual void gr::blocks::keep_m_in_n::set_offset ( int  offset) [pure virtual]

The documentation for this class was generated from the following file: