GNU Radio 3.5.1 C++ API
gr_bytes_to_syms Class Reference

Convert stream of bytes to stream of +/- 1 symbolsinput: stream of bytes; output: stream of float. More...

#include <gr_bytes_to_syms.h>

Inheritance diagram for gr_bytes_to_syms:

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_CORE_API 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_CORE_API gr_bytes_to_syms_sptr gr_make_bytes_to_syms ( ) [friend]

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