SPUC
3.0
|
Template class for Delay line. More...
#include <delay.h>
Public Member Functions | |
delay (long n=0) | |
Constructor. More... | |
delay & | operator= (const delay &rhs) |
Assignment. More... | |
~delay (void) | |
Destructor. More... | |
void | reset (void) |
Numeric | check (long i) |
Get delay at tap i. More... | |
Numeric | checkback (long i) |
Look back in delay line by i samples. More... | |
Numeric | last () |
Get last tap. More... | |
void | set_size (long n=2) |
Set size of delay. More... | |
Numeric | input (Numeric in) |
Clock in new input sample. More... | |
Numeric | update (Numeric in) |
Clock in new sample and get output from delay line. More... | |
Public Attributes | |
long | num_taps |
Protected Attributes | |
std::vector< Numeric > | z |
Template class for Delay line.
Template class for a Delay line (primitive used in other classes) Allows user to check at various points in delay line, but default use is a pure delay.
|
inline |
Constructor.
|
inline |
Destructor.
|
inline |
Get delay at tap i.
Referenced by SPUC::iir_delay_allpass1< Numeric, Coeff >::clock(), and SPUC::scic< Numeric >::decimate().
|
inline |
Look back in delay line by i samples.
Referenced by SPUC::qpsk< Numeric >::clock().
|
inline |
Clock in new input sample.
Referenced by SPUC::iir_delay_allpass1< Numeric, Coeff >::clock(), SPUC::iir_comb< Numeric, Coeff >::clock(), SPUC::qpsk< Numeric >::clock(), SPUC::scic< Numeric >::decimate(), SPUC::running_sum< Numeric >::update(), SPUC::running_average< Numeric >::update(), and SPUC::delay< T >::update().
|
inline |
Get last tap.
Referenced by SPUC::running_sum< Numeric >::update(), and SPUC::running_average< Numeric >::update().
|
inline |
Assignment.
|
inline |
|
inline |
Set size of delay.
Referenced by SPUC::iir_comb< Numeric, Coeff >::iir_comb(), SPUC::iir_delay_allpass1< Numeric, Coeff >::iir_delay_allpass1(), SPUC::iir_comb< Numeric, Coeff >::init(), main(), SPUC::scic< Numeric >::num_stages(), SPUC::running_average< Numeric >::running_average(), SPUC::running_sum< Numeric >::running_sum(), SPUC::scic< Numeric >::scic(), SPUC::iir_delay_allpass1< Numeric, Coeff >::set_delay(), SPUC::convolutional_interleaver< T >::set_size(), SPUC::running_sum< Numeric >::set_size(), and SPUC::running_average< Numeric >::set_size().
|
inline |
Clock in new sample and get output from delay line.
Referenced by main().
long SPUC::delay< Numeric >::num_taps |
|
protected |
Referenced by SPUC::delay< T >::operator=().