GNU Radio 3.5.1 C++ API
|
convert a stream of items into a stream of blocks containing nitems_per_block More...
#include <gr_stream_to_vector.h>
Public Member Functions | |
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 | |
Protected Member Functions | |
gr_stream_to_vector (size_t item_size, size_t nitems_per_block) | |
Friends | |
GR_CORE_API gr_stream_to_vector_sptr | gr_make_stream_to_vector (size_t item_size, size_t nitems_per_block) |
convert a stream of items into a stream of blocks containing nitems_per_block
gr_stream_to_vector::gr_stream_to_vector | ( | size_t | item_size, |
size_t | nitems_per_block | ||
) | [protected] |
int gr_stream_to_vector::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.
GR_CORE_API gr_stream_to_vector_sptr gr_make_stream_to_vector | ( | size_t | item_size, |
size_t | nitems_per_block | ||
) | [friend] |