GNU Radio 3.6.5 C++ API
|
template class for generic convolutional interleaver More...
#include <convolutional_interleaver.h>
Public Member Functions | |
convolutional_interleaver (bool interleave_p, int nbanks, int fifo_size_incr) | |
virtual | ~convolutional_interleaver () |
void | reset () |
reset interleaver (flushes contents and resets commutator) | |
void | sync () |
sync interleaver (resets commutator, but doesn't flush fifos) | |
int | end_to_end_delay () |
return end to end delay in symbols (delay through concatenated interleaver / deinterleaver) | |
symbol_type | transform (symbol_type input) |
transform a single symbol | |
void | transform (symbol_type *out, const symbol_type *in, int nsymbols) |
transform a bunch of symbols | |
Protected Attributes | |
int | m_commutator |
int | m_nbanks |
int | m_fifo_size_incr |
std::vector< interleaver_fifo < symbol_type > * > | m_fifo |
template class for generic convolutional interleaver
convolutional_interleaver< symbol_type >::convolutional_interleaver | ( | bool | interleave_p, |
int | nbanks, | ||
int | fifo_size_incr | ||
) |
convolutional_interleaver< symbol_type >::~convolutional_interleaver | ( | ) | [virtual] |
int convolutional_interleaver< symbol_type >::end_to_end_delay | ( | ) |
return end to end delay in symbols (delay through concatenated interleaver / deinterleaver)
void convolutional_interleaver< symbol_type >::reset | ( | ) |
reset interleaver (flushes contents and resets commutator)
void convolutional_interleaver< symbol_type >::sync | ( | ) | [inline] |
sync interleaver (resets commutator, but doesn't flush fifos)
void convolutional_interleaver< symbol_type >::transform | ( | symbol_type * | out, |
const symbol_type * | in, | ||
int | nsymbols | ||
) |
transform a bunch of symbols
symbol_type convolutional_interleaver< symbol_type >::transform | ( | symbol_type | input | ) | [inline] |
transform a single symbol
int convolutional_interleaver< symbol_type >::m_commutator [protected] |
std::vector<interleaver_fifo<symbol_type> *> convolutional_interleaver< symbol_type >::m_fifo [protected] |
Referenced by convolutional_interleaver< unsigned char >::transform().
int convolutional_interleaver< symbol_type >::m_fifo_size_incr [protected] |
int convolutional_interleaver< symbol_type >::m_nbanks [protected] |
Referenced by convolutional_interleaver< unsigned char >::transform().