CLAM::FDFilterGen Class Reference

Frequency Domain Filter Generator. More...

#include <FDFilterGen.hxx>

List of all members.

Public Member Functions

 FDFilterGen (const Config &c=Config())
 Configuration constructor.
virtual ~FDFilterGen ()
bool Do ()
 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
FloatInControl Gain
FloatInControl HighCutOff
FloatInControl LowCutOff
FloatInControl PassBandSlope
FloatInControl StopBandSlope

Protected Member Functions

void UpdateControlChangedFlag (TControlData)

Detailed Description

Frequency Domain Filter Generator.

Definition at line 126 of file FDFilterGen.hxx.


Constructor & Destructor Documentation

CLAM::FDFilterGen::FDFilterGen ( const Config c = Config()  ) 

Configuration constructor.

Parameters:
Configuration object.
virtual CLAM::FDFilterGen::~FDFilterGen (  )  [inline, virtual]

Definition at line 161 of file FDFilterGen.hxx.


Member Function Documentation

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 98 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(), CLAM::InControl< ControlDataType >::GetLastValue(), CLAM::BPFTmpl< TX, TY >::GetValueFromIndex(), HighCutOff, LowCutOff, MINUSINFINITY, PassBandSlope, CLAM::Spectrum::SetBPFSize(), CLAM::BPFTmpl< TX, TY >::SetValue(), StopBandSlope, and CLAM::DynamicType::UpdateData().

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

Supervised-mode Do function.

UNINPLEMENTED

Implements CLAM::Processing.

Definition at line 93 of file FDFilterGen.cxx.

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

Definition of the Processing virtual method.

Reimplemented from CLAM::Processing.

Definition at line 180 of file FDFilterGen.hxx.

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

Definition at line 87 of file FDFilterGen.cxx.


Member Data Documentation

Definition at line 134 of file FDFilterGen.hxx.

Referenced by Do().

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 132 of file FDFilterGen.hxx.

Definition at line 137 of file FDFilterGen.hxx.

Referenced by Do().

Definition at line 138 of file FDFilterGen.hxx.

Referenced by Do().


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.3