GNU Radio 3.7.1 C++ API
gr::blocks::keep_one_in_n Class Reference

decimate a stream, keeping one item out of every n. More...

#include <keep_one_in_n.h>

Inheritance diagram for gr::blocks::keep_one_in_n:

List of all members.

Public Types

typedef boost::shared_ptr
< keep_one_in_n
sptr

Public Member Functions

virtual void set_n (int n)=0

Static Public Member Functions

static sptr make (size_t itemsize, int n)

Detailed Description

decimate a stream, keeping one item out of every n.


Member Typedef Documentation


Member Function Documentation

static sptr gr::blocks::keep_one_in_n::make ( size_t  itemsize,
int  n 
) [static]

Make a keep one in n block.

Parameters:
itemsizestream itemsize
nblock size in items
virtual void gr::blocks::keep_one_in_n::set_n ( int  n) [pure virtual]

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