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

copies the first N items to the output then signals done More...

#include <head.h>

Inheritance diagram for gr::blocks::head:

List of all members.

Public Types

typedef boost::shared_ptr< headsptr

Public Member Functions

virtual void reset ()=0
virtual void set_length (int nitems)=0

Static Public Member Functions

static sptr make (size_t sizeof_stream_item, uint64_t nitems)

Detailed Description

copies the first N items to the output then signals done

Useful for building test cases


Member Typedef Documentation


Member Function Documentation

static sptr gr::blocks::head::make ( size_t  sizeof_stream_item,
uint64_t  nitems 
) [static]
virtual void gr::blocks::head::reset ( ) [pure virtual]
virtual void gr::blocks::head::set_length ( int  nitems) [pure virtual]

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