GNU Radio 3.6.5 C++ API

trellis_permutation Class Reference

Permutation. More...

#include <trellis_permutation.h>

Inheritance diagram for trellis_permutation:
gr_sync_block gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter

List of all members.

Public Member Functions

int K () const
const std::vector< int > & TABLE () const
int SYMS_PER_BLOCK () const
size_t BYTES_PER_SYMBOL () const
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

TRELLIS_API
trellis_permutation_sptr 
trellis_make_permutation (int K, const std::vector< int > &TABLE, int SYMS_PER_BLOCK, size_t BYTES_PER_SYMBOL)

Detailed Description

Permutation.


Member Function Documentation

size_t trellis_permutation::BYTES_PER_SYMBOL ( ) const [inline]
int trellis_permutation::K ( ) const [inline]
int trellis_permutation::SYMS_PER_BLOCK ( ) const [inline]
const std::vector<int>& trellis_permutation::TABLE ( ) const [inline]
int trellis_permutation::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

TRELLIS_API trellis_permutation_sptr trellis_make_permutation ( int  K,
const std::vector< int > &  TABLE,
int  SYMS_PER_BLOCK,
size_t  BYTES_PER_SYMBOL 
) [friend]

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