GNU Radio 3.7.1 C++ API
|
copies the first N items to the output then signals done More...
#include <head.h>
Public Types | |
typedef boost::shared_ptr< head > | sptr |
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) |
copies the first N items to the output then signals done
Useful for building test cases
typedef boost::shared_ptr<head> gr::blocks::head::sptr |
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] |