CLAM::SpectralSynthesis Class Reference

#include <SpectralSynthesis.hxx>

Inheritance diagram for CLAM::SpectralSynthesis:

CLAM::ProcessingComposite CLAM::Processing

List of all members.


Detailed Description

This is the processing object class we are using to group several other processing objects.

Definition at line 72 of file SpectralSynthesis.hxx.


Public Member Functions

 SpectralSynthesis (const SpectralSynthesisConfig &cfg)
 SpectralSynthesis ()
 ~SpectralSynthesis ()
const char * GetClassName () const
 Override it in every subclass and retur the name of that class.
const ProcessingConfigGetConfig () const
 Configuration getter.
bool Do (void)
 Supervised mode execution.
bool Do (Spectrum &in, Audio &out)
 Unsupervised mode execution.
bool Do (Frame &in)
bool Do (Segment &in)

Public Attributes

InPort< SpectrummInput
 Ports.
AudioOutPort mOutput

Constructor & Destructor Documentation

CLAM::SpectralSynthesis::SpectralSynthesis ( const SpectralSynthesisConfig cfg  ) 

Definition at line 59 of file SpectralSynthesis.cxx.

References CLAM::Processing::Configure().

CLAM::SpectralSynthesis::SpectralSynthesis (  ) 

Definition at line 51 of file SpectralSynthesis.cxx.

References CLAM::Processing::Configure().

CLAM::SpectralSynthesis::~SpectralSynthesis (  ) 

Definition at line 67 of file SpectralSynthesis.cxx.


Member Function Documentation

const char* CLAM::SpectralSynthesis::GetClassName (  )  const [inline, virtual]

Override it in every subclass and retur the name of that class.

Reimplemented from CLAM::ProcessingComposite.

Definition at line 113 of file SpectralSynthesis.hxx.

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

Configuration getter.

Gets the configuration parameters used to create the object.

Returns:
Const reference to the configuration object. The usual way to perform a configuration change in the processing object is to take a copy of this reference, to change it and to send it with the Configure method. If not overriden, it returns a NullProcessingConfig.

Implements CLAM::ProcessingComposite.

Definition at line 116 of file SpectralSynthesis.hxx.

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

bool CLAM::SpectralSynthesis::Do ( Spectrum in,
Audio out 
)

bool CLAM::SpectralSynthesis::Do ( Frame in  ) 

Definition at line 193 of file SpectralSynthesis.cxx.

References Do().

bool CLAM::SpectralSynthesis::Do ( Segment in  ) 


Member Data Documentation

Ports.

Definition at line 129 of file SpectralSynthesis.hxx.

Referenced by Do().

Definition at line 130 of file SpectralSynthesis.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