23#ifndef _INTERLEAVER_FIFO_H_
24#define _INTERLEAVER_FIFO_H_
34template <
class symbol_type>
45 symbol_type
stuff(symbol_type input)
65template <
class symbol_type>
70 m_fifo =
new symbol_type[size];
71 memset(m_fifo, 0, m_size *
sizeof(symbol_type));
74template <
class symbol_type>
80template <
class symbol_type>
84 memset(m_fifo, 0, m_size *
sizeof(symbol_type));
template class for interleaver fifo
Definition: interleaver_fifo.h:36
void reset()
reset interleaver (flushes contents and resets commutator)
Definition: interleaver_fifo.h:81
symbol_type * m_fifo
Definition: interleaver_fifo.h:62
unsigned int m_position
Definition: interleaver_fifo.h:61
unsigned int m_size
Definition: interleaver_fifo.h:60
symbol_type stuff(symbol_type input)
stuff a symbol into the fifo and return the oldest
Definition: interleaver_fifo.h:45
~interleaver_fifo()
Definition: interleaver_fifo.h:75
interleaver_fifo(unsigned int size)
Definition: interleaver_fifo.h:66