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