gr_stream_to_streams Class Reference
[Signal Processing Blocks]

convert a stream of items into a N streams of items

Converts a stream of N items into N streams of 1 item. Repeat ad infinitum. More...

#include <gr_stream_to_streams.h>

Inheritance diagram for gr_stream_to_streams:

gr_sync_decimator gr_sync_block gr_block

List of all members.

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_streams (size_t item_size, size_t nstreams)

Friends

gr_stream_to_streams_sptr gr_make_stream_to_streams (size_t item_size, size_t nstreams)


Detailed Description

convert a stream of items into a N streams of items

Converts a stream of N items into N streams of 1 item. Repeat ad infinitum.


Constructor & Destructor Documentation

gr_stream_to_streams::gr_stream_to_streams ( size_t  item_size,
size_t  nstreams 
) [protected]


Member Function Documentation

int gr_stream_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.

References gr_block::output_signature().


Friends And Related Function Documentation

gr_stream_to_streams_sptr gr_make_stream_to_streams ( size_t  item_size,
size_t  nstreams 
) [friend]


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

Generated on Sat Apr 18 14:00:53 2009 for GNU Radio 3.0.4 by  doxygen 1.5.8