Class that encapsulates all the building blocks of the SegmentAnalysis example. More...
#include <SMSAnalysisCore.hxx>
Public Member Functions | |
const char * | GetClassName () const |
Override it in every subclass and retur the name of that class. | |
SMSAnalysisCore (SMSAnalysisConfig &config) | |
SMSAnalysisCore () | |
~SMSAnalysisCore () | |
const ProcessingConfig & | GetConfig () const |
Configuration getter. | |
bool | Do (void) |
Supervised mode execution. | |
bool | ConcreteStart () |
Concrete start implementation, called when the user calls Start() on the Processing(Composite), should be used to implement any specific start implementation required by classes deriving from this class. |
Class that encapsulates all the building blocks of the SegmentAnalysis example.
Definition at line 49 of file SMSAnalysisCore.hxx.
CLAM::SMSAnalysisCore::SMSAnalysisCore | ( | SMSAnalysisConfig & | config | ) |
Definition at line 56 of file SMSAnalysisCore.cxx.
References CLAM::Processing::Configure().
CLAM::SMSAnalysisCore::SMSAnalysisCore | ( | ) |
Definition at line 43 of file SMSAnalysisCore.cxx.
References CLAM::Processing::Configure().
CLAM::SMSAnalysisCore::~SMSAnalysisCore | ( | ) |
Definition at line 71 of file SMSAnalysisCore.cxx.
bool CLAM::SMSAnalysisCore::ConcreteStart | ( | void | ) | [virtual] |
Concrete start implementation, called when the user calls Start() on the Processing(Composite), should be used to implement any specific start implementation required by classes deriving from this class.
When overriding this function in a class derived from ProcessingComposite be sure to call the base class (so child Processings are properly started).
Reimplemented from CLAM::ProcessingComposite.
Definition at line 156 of file SMSAnalysisCore.cxx.
References CLAM::OutPortBase::CenterEvenRegions(), CLAM_ASSERT, CLAM::Processing::GetInPort(), CLAM::InPortBase::GetSize(), CLAM::OutPortBase::GetSize(), CLAM::InPortBase::GetVisuallyConnectedOutPort(), CLAM::OutPortBase::SetHop(), and CLAM::OutPortBase::SetSize().
bool CLAM::SMSAnalysisCore::Do | ( | void | ) | [virtual] |
Supervised mode execution.
Implements CLAM::ProcessingComposite.
Definition at line 181 of file SMSAnalysisCore.cxx.
References CLAM::Processing::CanConsumeAndProduce(), CLAM_DEBUG_ASSERT, CLAM::SpectrumSubstracter2::Do(), CLAM::SynthSineSpectrum::Do(), CLAM::SinTracking::Do(), CLAM::FundFreqDetect::Do(), CLAM::SpectralPeakDetect::Do(), and CLAM::SpectralAnalysis::Do().
const char* CLAM::SMSAnalysisCore::GetClassName | ( | ) | const [inline, virtual] |
Override it in every subclass and retur the name of that class.
Reimplemented from CLAM::ProcessingComposite.
Definition at line 56 of file SMSAnalysisCore.hxx.
const ProcessingConfig& CLAM::SMSAnalysisCore::GetConfig | ( | ) | const [inline, virtual] |
Configuration getter.
Gets the configuration parameters used to create the object.
Implements CLAM::ProcessingComposite.
Definition at line 63 of file SMSAnalysisCore.hxx.