CLAM-Development  1.1
Public Member Functions | Public Attributes | Protected Member Functions
CLAM::FDFilterGen Class Reference

Frequency Domain Filter Generator. More...

#include <FDFilterGen.hxx>

List of all members.

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)

Detailed Description

Frequency Domain Filter Generator.

Definition at line 127 of file FDFilterGen.hxx.


Constructor & Destructor Documentation

Definition at line 49 of file FDFilterGen.cxx.

References CLAM::Processing::Configure().

Configuration constructor.

Parameters:
Configurationobject.

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

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

Supervised-mode Do function.

UNINPLEMENTED

Implements CLAM::Processing.

Definition at line 111 of file FDFilterGen.cxx.

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

Definition at line 104 of file FDFilterGen.cxx.


Member Data Documentation

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

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: