gr_bytes_to_syms Class Reference
[Type Conversions]

Convert stream of bytes to stream of +/- 1 symbols

input: stream of bytes; output: stream of float. More...

#include <gr_bytes_to_syms.h>

Inheritance diagram for gr_bytes_to_syms:

Inheritance graph
[legend]
Collaboration diagram for gr_bytes_to_syms:

Collaboration graph
[legend]

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

Friends

gr_bytes_to_syms_sptr gr_make_bytes_to_syms ()


Detailed Description

Convert stream of bytes to stream of +/- 1 symbols

input: stream of bytes; output: stream of float.

This block is deprecated.

The combination of gr_packed_to_unpacked_bb followed by gr_chunks_to_symbols_bf or gr_chunks_to_symbols_bc handles the general case of mapping from a stream of bytes into arbitrary float or complex symbols.

See also:
gr_packed_to_unpacked_bb, gr_unpacked_to_packed_bb,

gr_chunks_to_symbols_bf, gr_chunks_to_symbols_bc.


Member Function Documentation

int gr_bytes_to_syms::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_bytes_to_syms_sptr gr_make_bytes_to_syms (  )  [friend]


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

Generated on Thu Mar 5 09:02:31 2009 for GNU Radio 3.1.3 by  doxygen 1.5.8