SPUC  3.0
Public Member Functions | Public Attributes | Protected Attributes | List of all members
SPUC::fixed_delay< Numeric, D > Class Template Reference

Template class for Delay line with Fixed Delay. More...

#include <fixed_delay.h>

Public Member Functions

 fixed_delay ()
 Constructor. 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...
 
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 NumTaps
 

Protected Attributes

Numeric z [D+1]
 

Detailed Description

template<class Numeric, int D>
class SPUC::fixed_delay< Numeric, D >

Template class for Delay line with Fixed Delay.

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.

Author
Tony Kirke
delay.gif

Constructor & Destructor Documentation

template<class Numeric , int D>
SPUC::fixed_delay< Numeric, D >::fixed_delay ( )
inline

Constructor.

References SPUC::fixed_delay< Numeric, D >::NumTaps.

Member Function Documentation

template<class Numeric , int D>
Numeric SPUC::fixed_delay< Numeric, D >::check ( long  i)
inline

Get delay at tap i.

References SPUC_ASSERT.

template<class Numeric , int D>
Numeric SPUC::fixed_delay< Numeric, D >::checkback ( long  i)
inline

Look back in delay line by i samples.

References SPUC_ASSERT.

template<class Numeric , int D>
Numeric SPUC::fixed_delay< Numeric, D >::input ( Numeric  in)
inline

Clock in new input sample.

Referenced by SPUC::fixed_delay< Numeric, D >::update().

template<class Numeric , int D>
Numeric SPUC::fixed_delay< Numeric, D >::last ( )
inline

Get last tap.

template<class Numeric , int D>
void SPUC::fixed_delay< Numeric, D >::reset ( void  )
inline
template<class Numeric , int D>
Numeric SPUC::fixed_delay< Numeric, D >::update ( Numeric  in)
inline

Clock in new sample and get output from delay line.

References SPUC::fixed_delay< Numeric, D >::input().

Here is the call graph for this function:

Member Data Documentation

template<class Numeric , int D>
long SPUC::fixed_delay< Numeric, D >::NumTaps
template<class Numeric , int D>
Numeric SPUC::fixed_delay< Numeric, D >::z[D+1]
protected

The documentation for this class was generated from the following file: