GNU Radio 3.6.5 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:
gr_sync_block gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter gr::blocks::head_impl

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]

Implemented in gr::blocks::head_impl.

virtual void gr::blocks::head::set_length ( int  nitems) [pure virtual]

Implemented in gr::blocks::head_impl.


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