Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

SPUC::delay< Numeric > Class Template Reference
[Miscellaneous functions]

Template class for Delay line. More...

#include <delay.h>

Collaboration diagram for SPUC::delay< Numeric >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 delay (long n=0)
 Constructor.
delayoperator= (const delay &rhs)
 Assignment.
 ~delay (void)
 Destructor.
void reset (void)
Numeric check (long i)
 Get delay at tap i.
Numeric checkback (long i)
 Look back in delay line by i samples.
Numeric last ()
 Get last tap.
void set_size (long n=2)
 Set size of delay.
Numeric input (Numeric in)
 Clock in new input sample.
Numeric update (Numeric in)
 Clock in new sample and get output from delay line.

Public Attributes

long num_taps

Protected Attributes

Numeric * z

Detailed Description

template<class Numeric>
class SPUC::delay< Numeric >

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.

delay.gif


Constructor & Destructor Documentation

template<class Numeric>
SPUC::delay< Numeric >::delay long  n = 0  )  [inline]
 

Constructor.

template<class Numeric>
SPUC::delay< Numeric >::~delay void   )  [inline]
 

Destructor.


Member Function Documentation

template<class Numeric>
Numeric SPUC::delay< Numeric >::check long  i  )  [inline]
 

Get delay at tap i.

template<class Numeric>
Numeric SPUC::delay< Numeric >::checkback long  i  )  [inline]
 

Look back in delay line by i samples.

template<class Numeric>
Numeric SPUC::delay< Numeric >::input Numeric  in  )  [inline]
 

Clock in new input sample.

template<class Numeric>
Numeric SPUC::delay< Numeric >::last  )  [inline]
 

Get last tap.

template<class Numeric>
delay& SPUC::delay< Numeric >::operator= const delay< Numeric > &  rhs  )  [inline]
 

Assignment.

template<class Numeric>
void SPUC::delay< Numeric >::reset void   )  [inline]
 

template<class Numeric>
void SPUC::delay< Numeric >::set_size long  n = 2  )  [inline]
 

Set size of delay.

template<class Numeric>
Numeric SPUC::delay< Numeric >::update Numeric  in  )  [inline]
 

Clock in new sample and get output from delay line.


Member Data Documentation

template<class Numeric>
long SPUC::delay< Numeric >::num_taps
 

template<class Numeric>
Numeric* SPUC::delay< Numeric >::z [protected]
 


The documentation for this class was generated from the following file:
Generated on Fri Sep 16 11:08:44 2005 for spuc by  doxygen 1.4.4