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