GNU Radio 3.4.0 C++ API
|
Convert 1 stream of vectors of length N to N streams of items. More...
#include <gr_vector_to_streams.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_vector_to_streams (size_t item_size, size_t nstreams) | |
Friends | |
gr_vector_to_streams_sptr | gr_make_vector_to_streams (size_t item_size, size_t nstreams) |
Convert 1 stream of vectors of length N to N streams of items.
gr_vector_to_streams::gr_vector_to_streams | ( | size_t | item_size, |
size_t | nstreams | ||
) | [protected] |
int gr_vector_to_streams::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_vector_to_streams_sptr gr_make_vector_to_streams | ( | size_t | item_size, |
size_t | nstreams | ||
) | [friend] |