Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

gr_stream_to_vector Class Reference
[Signal Processing Blocks]

#include <gr_stream_to_vector.h>

Inheritance diagram for gr_stream_to_vector:

Inheritance graph
[legend]
Collaboration diagram for gr_stream_to_vector:

Collaboration graph
[legend]
List of all members.

Detailed Description

convert a stream of items into a stream of blocks containing nitems_per_block


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_stream_to_vector_sptr gr_make_stream_to_vector (size_t item_size, size_t nitems_per_block)


Constructor & Destructor Documentation

gr_stream_to_vector::gr_stream_to_vector size_t  item_size,
size_t  nitems_per_block
[protected]
 


Member Function Documentation

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.


Friends And Related Function Documentation

gr_stream_to_vector_sptr gr_make_stream_to_vector size_t  item_size,
size_t  nitems_per_block
[friend]
 


The documentation for this class was generated from the following files:
Generated on Sat Jul 8 17:14:21 2006 for GNU Radio 2.x by  doxygen 1.4.1