SPUC::sum_and_dump< Numeric > Class Template Reference
[SPUC templatesFIR filters]

sum and dump filter More...

#include <sum_and_dump.h>

Collaboration diagram for SPUC::sum_and_dump< Numeric >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 sum_and_dump (long exp)
Numeric output (void)
void set_exp (long exp)
void input (Numeric in_val)

Public Attributes

Numeric average
Numeric result
long count_exp
long count
long count_val

Detailed Description

template<class Numeric>
class SPUC::sum_and_dump< Numeric >

sum and dump filter

This modules sums the input for a fixed number of samples stores the result and begins a new summation. Similar to an integrate and dump function

Author:
="Tony Kirke" Copyright(c) 1993-1996

Tony Kirke


Constructor & Destructor Documentation

template<class Numeric>
SPUC::sum_and_dump< Numeric >::sum_and_dump ( long  exp  )  [inline]


Member Function Documentation

template<class Numeric>
void SPUC::sum_and_dump< Numeric >::input ( Numeric  in_val  )  [inline]

template<class Numeric>
Numeric SPUC::sum_and_dump< Numeric >::output ( void   )  [inline]

template<class Numeric>
void SPUC::sum_and_dump< Numeric >::set_exp ( long  exp  )  [inline]


Member Data Documentation

template<class Numeric>
Numeric SPUC::sum_and_dump< Numeric >::average

template<class Numeric>
long SPUC::sum_and_dump< Numeric >::count

template<class Numeric>
long SPUC::sum_and_dump< Numeric >::count_exp

template<class Numeric>
long SPUC::sum_and_dump< Numeric >::count_val

template<class Numeric>
Numeric SPUC::sum_and_dump< Numeric >::result


The documentation for this class was generated from the following file:
Generated on Mon Jun 9 19:40:55 2008 for DSPTemplates by  doxygen 1.4.7