GNU Radio 3.6.5 C++ API

gr::blocks::head_impl Class Reference

#include <head_impl.h>

Inheritance diagram for gr::blocks::head_impl:
gr::blocks::head gr_sync_block gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter

List of all members.

Public Member Functions

 head_impl (size_t sizeof_stream_item, uint64_t nitems)
 ~head_impl ()
void reset ()
void set_length (int nitems)
int work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
 just like gr_block::general_work, only this arranges to call consume_each for you

Constructor & Destructor Documentation

gr::blocks::head_impl::head_impl ( size_t  sizeof_stream_item,
uint64_t  nitems 
)
gr::blocks::head_impl::~head_impl ( )

Member Function Documentation

void gr::blocks::head_impl::reset ( ) [inline, virtual]

Implements gr::blocks::head.

void gr::blocks::head_impl::set_length ( int  nitems) [inline, virtual]

Implements gr::blocks::head.

int gr::blocks::head_impl::work ( int  noutput_items,
gr_vector_const_void_star input_items,
gr_vector_void_star output_items 
) [virtual]

just like gr_block::general_work, only this arranges to call consume_each for you

The user must override work to define the signal processing code

Implements gr_sync_block.


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