SPUC::a_d Class Reference
[SPUC non-template classesMiscellaneous DSPSimulation classes And functions]

An A/D conversion class. More...

#include <a_d.h>

List of all members.

Public Member Functions

 a_d (char h=8)
 Constructor.
long clock (float_type x)
 Quantize and limit signal to size bits.
complex< long > clock (complex< float_type > x)

Protected Attributes

char size
long max
 Number of bits <= 8.
long min


Detailed Description

An A/D conversion class.

Bit width is specified in constructor. Default is 8 bits. Handles real and complex samples

Author:
Tony Kirke
a_d.png


Constructor & Destructor Documentation

SPUC::a_d::a_d ( char  h = 8  ) 

Constructor.


Member Function Documentation

complex< long > SPUC::a_d::clock ( complex< float_type x  ) 

long SPUC::a_d::clock ( float_type  x  ) 

Quantize and limit signal to size bits.


Member Data Documentation

long SPUC::a_d::max [protected]

Number of bits <= 8.

long SPUC::a_d::min [protected]

char SPUC::a_d::size [protected]


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