#include <SDIFFileReader.hxx>
Public Member Functions | |
| SDIFFileReader (const SDIFInConfig &c) | |
| SDIFFileReader () | |
| virtual | ~SDIFFileReader () |
| bool | GetEnableResidual () |
| bool | GetEnablePeakArray () |
| bool | GetEnableFundFreq () |
| bool | ReadFrame (CLAM::Fundamental &argFundamental, CLAM::SpectralPeakArray &argSpectralPeaks, CLAM::Spectrum &argResidual) |
| bool | ReadFrame (CLAM::Fundamental &argFundamental, CLAM::SpectralPeakArray &argSpectralPeaks, CLAM::Spectrum &argResidual, TTime &argFrameCenterTime) |
| int | GetReadPosition () |
| void | SetReadPosition (int readPosition) |
| int | GetSamplingRate () |
| int | GetFrameCenterTime () |
| const ProcessingConfig & | GetConfig () const |
| bool | Configure (const SDIFInConfig &c) |
Public Attributes | |
| SDIF::File * | mpFile |
Definition at line 42 of file SDIFFileReader.hxx.
| CLAM::SDIFFileReader::SDIFFileReader | ( | const SDIFInConfig & | c | ) |
Definition at line 40 of file SDIFFileReader.cxx.
References Configure(), mpFile, and NULL.
| CLAM::SDIFFileReader::SDIFFileReader | ( | ) |
Definition at line 32 of file SDIFFileReader.cxx.
References Configure(), mpFile, and NULL.
| CLAM::SDIFFileReader::~SDIFFileReader | ( | ) | [virtual] |
Definition at line 49 of file SDIFFileReader.cxx.
References SDIF::File::Close(), mpFile, and NULL.
| bool CLAM::SDIFFileReader::Configure | ( | const SDIFInConfig & | c | ) |
Definition at line 56 of file SDIFFileReader.cxx.
Referenced by SDIFFileReader().
| const ProcessingConfig & CLAM::SDIFFileReader::GetConfig | ( | ) | const |
Definition at line 84 of file SDIFFileReader.cxx.
| bool CLAM::SDIFFileReader::GetEnableFundFreq | ( | ) | [inline] |
Definition at line 54 of file SDIFFileReader.hxx.
| bool CLAM::SDIFFileReader::GetEnablePeakArray | ( | ) | [inline] |
Definition at line 53 of file SDIFFileReader.hxx.
| bool CLAM::SDIFFileReader::GetEnableResidual | ( | ) | [inline] |
Definition at line 52 of file SDIFFileReader.hxx.
| int CLAM::SDIFFileReader::GetFrameCenterTime | ( | ) |
Definition at line 314 of file SDIFFileReader.cxx.
| int CLAM::SDIFFileReader::GetReadPosition | ( | ) |
Definition at line 299 of file SDIFFileReader.cxx.
References mpFile, and SDIF::File::Pos().
| int CLAM::SDIFFileReader::GetSamplingRate | ( | ) |
Definition at line 309 of file SDIFFileReader.cxx.
Referenced by CLAM::SDIFIn::LoadSDIFDataIntoSegment().
| bool CLAM::SDIFFileReader::ReadFrame | ( | CLAM::Fundamental & | argFundamental, | |
| CLAM::SpectralPeakArray & | argSpectralPeaks, | |||
| CLAM::Spectrum & | argResidual, | |||
| TTime & | argFrameCenterTime | |||
| ) |
Definition at line 100 of file SDIFFileReader.cxx.
References CLAM::SpecTypeFlags::bComplex, CLAM::SpecTypeFlags::bMagPhase, SDIF::File::Close(), SDIF::File::Done(), mpFile, SDIF::File::Pos(), CLAM::Spectrum::SetType(), and SDIF::Frame::Time().
| bool CLAM::SDIFFileReader::ReadFrame | ( | CLAM::Fundamental & | argFundamental, | |
| CLAM::SpectralPeakArray & | argSpectralPeaks, | |||
| CLAM::Spectrum & | argResidual | |||
| ) |
Definition at line 89 of file SDIFFileReader.cxx.
Referenced by CLAM::SDIFIn::LoadSDIFDataIntoSegment().
| void CLAM::SDIFFileReader::SetReadPosition | ( | int | readPosition | ) |
Definition at line 304 of file SDIFFileReader.cxx.
References mpFile, and SDIF::File::Pos().
Definition at line 76 of file SDIFFileReader.hxx.
Referenced by GetReadPosition(), ReadFrame(), SDIFFileReader(), SetReadPosition(), and ~SDIFFileReader().
1.6.3