GNU Radio 3.6.5 C++ API

gr_bytes_to_syms Class Reference

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

#include <gr_bytes_to_syms.h>

Inheritance diagram for gr_bytes_to_syms:
gr_sync_interpolator gr_sync_block gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter

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: