GNU Radio 3.7.1 C++ API
gr::digital::chunks_to_symbols_bf Class Reference

Map a stream of symbol indexes (unpacked bytes or shorts) to stream of float or complex constellation points in D dimensions (D = 1 by default)input: stream of unsigned char; output: stream of float. More...

#include <chunks_to_symbols_bf.h>

Inheritance diagram for gr::digital::chunks_to_symbols_bf:

List of all members.

Public Types

typedef boost::shared_ptr
< chunks_to_symbols_bf
sptr

Public Member Functions

virtual int D () const =0
virtual std::vector< float > symbol_table () const =0

Static Public Member Functions

static sptr make (const std::vector< float > &symbol_table, const int D=1)

Detailed Description

Map a stream of symbol indexes (unpacked bytes or shorts) to stream of float or complex constellation points in D dimensions (D = 1 by default)

input: stream of unsigned char; output: stream of float.

out[n D + k] = symbol_table[in[n] D + k], k=0,1,...,D-1

The combination of gr::blocks::packed_to_unpacked_XX followed by digital_chunks_to_symbols_XY handles the general case of mapping from a stream of bytes or shorts into arbitrary float or complex symbols.

See also:
gr::blocks::packed_to_unpacked_bb, gr::blocks::unpacked_to_packed_bb,
gr::blocks::packed_to_unpacked_ss, gr::blocks::unpacked_to_packed_ss,
gr::digital::chunks_to_symbols_bf, gr::digital::chunks_to_symbols_bc.
gr::digital::chunks_to_symbols_sf, gr::digital::chunks_to_symbols_sc.

Member Typedef Documentation


Member Function Documentation

virtual int gr::digital::chunks_to_symbols_bf::D ( ) const [pure virtual]
static sptr gr::digital::chunks_to_symbols_bf::make ( const std::vector< float > &  symbol_table,
const int  D = 1 
) [static]

Make a chunks-to-symbols block.

Parameters:
symbol_table,:list that maps chunks to symbols.
D,:dimension of table.
virtual std::vector<float> gr::digital::chunks_to_symbols_bf::symbol_table ( ) const [pure virtual]

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