OpenWareLaboratory
FirFilter Class Reference

Public Member Functions

 FirFilter ()
 
 FirFilter (FloatArray cfs, FloatArray ste, size_t bsize)
 
FloatArray getCoefficients ()
 
void processBlock (FloatArray buffer)
 
void processBlock (FloatArray source, FloatArray destination)
 
void setCoefficients (FloatArray newCoefficients)
 Copies coefficients value from an array. More...
 
 ~FirFilter ()
 

Static Public Member Functions

static FirFiltercreate (size_t taps, size_t blocksize)
 
static void destroy (FirFilter *filter)
 

Detailed Description

Definition at line 6 of file FirFilter.h.

Constructor & Destructor Documentation

FirFilter::FirFilter ( )
inline

Definition at line 37 of file FirFilter.h.

Referenced by create().

FirFilter::FirFilter ( FloatArray  cfs,
FloatArray  ste,
size_t  bsize 
)
inline

Definition at line 39 of file FirFilter.h.

References FloatArray::getData(), and FloatArray::getSize().

FirFilter::~FirFilter ( )
inline

Definition at line 48 of file FirFilter.h.

Member Function Documentation

static FirFilter* FirFilter::create ( size_t  taps,
size_t  blocksize 
)
inlinestatic

Definition at line 74 of file FirFilter.h.

References FloatArray::clear(), FloatArray::create(), and FirFilter().

static void FirFilter::destroy ( FirFilter filter)
inlinestatic

Definition at line 81 of file FirFilter.h.

References FloatArray::destroy().

FloatArray FirFilter::getCoefficients ( )
inline

Definition at line 62 of file FirFilter.h.

void FirFilter::processBlock ( FloatArray  buffer)
inline

Definition at line 51 of file FirFilter.h.

References ASSERT, FloatArray::getData(), and FloatArray::getSize().

void FirFilter::processBlock ( FloatArray  source,
FloatArray  destination 
)
inline

Definition at line 56 of file FirFilter.h.

References ASSERT, FloatArray::getData(), and FloatArray::getSize().

void FirFilter::setCoefficients ( FloatArray  newCoefficients)
inline

Copies coefficients value from an array.

Definition at line 69 of file FirFilter.h.

References ASSERT, FloatArray::copyFrom(), and FloatArray::getSize().


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