CLAM::FDFilterGen Class Reference

#include <FDFilterGen.hxx>

Inheritance diagram for CLAM::FDFilterGen:

CLAM::Processing

List of all members.


Detailed Description

Frequency Domain Filter Generator.

Definition at line 127 of file FDFilterGen.hxx.


Public Member Functions

 FDFilterGen ()
 FDFilterGen (const FDFilterGenConfig &c)
 Configuration constructor.
virtual ~FDFilterGen ()
bool Do (void)
 Supervised-mode Do function.
bool Do (Spectrum &out)
 Non-supervised mode Do function.
const ProcessingConfigGetConfig () const
 Definition of the Processing virtual method.

Public Attributes

OutPort< SpectrumOutput
FDFilterGenCtrl Gain
FDFilterGenCtrl HighCutOff
FDFilterGenCtrl LowCutOff
FDFilterGenCtrl PassBandSlope
FDFilterGenCtrl StopBandSlope

Protected Member Functions

int UpdateControlChangedFlag (TControlData)

Constructor & Destructor Documentation

CLAM::FDFilterGen::FDFilterGen (  ) 

Definition at line 49 of file FDFilterGen.cxx.

References CLAM::Processing::Configure().

CLAM::FDFilterGen::FDFilterGen ( const FDFilterGenConfig c  ) 

Configuration constructor.

Parameters:
Configuration object.

Definition at line 64 of file FDFilterGen.cxx.

References CLAM::Processing::Configure().

virtual CLAM::FDFilterGen::~FDFilterGen (  )  [inline, virtual]

Definition at line 164 of file FDFilterGen.hxx.


Member Function Documentation

int CLAM::FDFilterGen::UpdateControlChangedFlag ( TControlData  val  )  [protected]

Definition at line 104 of file FDFilterGen.cxx.

bool CLAM::FDFilterGen::Do ( void   )  [virtual]

Supervised-mode Do function.

UNINPLEMENTED

Implements CLAM::Processing.

Definition at line 111 of file FDFilterGen.cxx.

bool CLAM::FDFilterGen::Do ( Spectrum out  ) 

Non-supervised mode Do function.

Todo:
: decide ConstantOutput mode. In ConstantOutput mode it will actually generate the filter, only if some in control has been received. In Non-ConstantOutput mode, the output will allways be calculated.
Returns:
true if the out spectrum has been calculated.

Definition at line 116 of file FDFilterGen.cxx.

References CLAM_pow(), CLAM::EFDFilterType::eBandPass, CLAM::EFDFilterType::eHighPass, CLAM::EScale::eLinear, CLAM::EScale::eLog, CLAM::EFDFilterType::eLowPass, CLAM::EFDFilterType::eStopBand, Gain, CLAM::Spectrum::GetBPFSize(), HighCutOff, LowCutOff, MINUSINFINITY, PassBandSlope, CLAM::Spectrum::SetBPFSize(), StopBandSlope, and CLAM::DynamicType::UpdateData().

const ProcessingConfig& CLAM::FDFilterGen::GetConfig (  )  const [inline, virtual]

Definition of the Processing virtual method.

Reimplemented from CLAM::Processing.

Definition at line 183 of file FDFilterGen.hxx.


Member Data Documentation

Definition at line 133 of file FDFilterGen.hxx.

FDFilterGenCtrl CLAM::FDFilterGen::Gain

Definition at line 135 of file FDFilterGen.hxx.

Referenced by Do().

Definition at line 136 of file FDFilterGen.hxx.

Referenced by Do().

Definition at line 137 of file FDFilterGen.hxx.

Referenced by Do().

Definition at line 138 of file FDFilterGen.hxx.

Referenced by Do().

Definition at line 139 of file FDFilterGen.hxx.

Referenced by Do().


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

Generated on Tue Aug 12 22:33:49 2008 for CLAM by  doxygen 1.5.5