23 #ifndef _INTERLEAVER_FIFO_H_
24 #define _INTERLEAVER_FIFO_H_
32 template<
class symbol_type>
43 symbol_type
stuff (symbol_type input){
62 template<
class symbol_type>
67 m_fifo =
new symbol_type[size];
68 memset (m_fifo, 0, m_size *
sizeof (symbol_type));
71 template<
class symbol_type>
77 template<
class symbol_type>
void
81 memset (m_fifo, 0, m_size *
sizeof (symbol_type));
void reset()
reset interleaver (flushes contents and resets commutator)
Definition: gr-atsc/include/gnuradio/atsc/interleaver_fifo.h:80
interleaver_fifo(unsigned int size)
Definition: gr-atsc/include/gnuradio/atsc/interleaver_fifo.h:65
symbol_type * m_fifo
Definition: gr-atsc/include/gnuradio/atsc/interleaver_fifo.h:61
template class for interleaver fifo
Definition: gr-atsc/include/gnuradio/atsc/interleaver_fifo.h:35
~interleaver_fifo()
Definition: gr-atsc/include/gnuradio/atsc/interleaver_fifo.h:74
unsigned int m_position
Definition: gr-atsc/include/gnuradio/atsc/interleaver_fifo.h:60
unsigned int m_size
Definition: gr-atsc/include/gnuradio/atsc/interleaver_fifo.h:59
symbol_type stuff(symbol_type input)
stuff a symbol into the fifo and return the oldest
Definition: gr-dtv/lib/atsc/interleaver_fifo.h:43