CLAM-Development  1.4.0
Public Member Functions | Public Attributes
CLAM::SDIFFileReader Class Reference

#include <SDIFFileReader.hxx>

List of all members.

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 ProcessingConfigGetConfig () const
bool Configure (const SDIFInConfig &c)

Public Attributes

SDIF::FilempFile

Detailed Description

Definition at line 42 of file SDIFFileReader.hxx.


Constructor & Destructor Documentation

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.


Member Function Documentation

bool CLAM::SDIFFileReader::Configure ( const SDIFInConfig c)

Definition at line 56 of file SDIFFileReader.cxx.

Referenced by CLAM::BufferedSDIFFileReader::Configure(), and SDIFFileReader().

const ProcessingConfig & CLAM::SDIFFileReader::GetConfig ( ) const

Definition at line 84 of file SDIFFileReader.cxx.

Referenced by CLAM::BufferedSDIFFileReader::GetConfig().

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 
)
bool CLAM::SDIFFileReader::ReadFrame ( CLAM::Fundamental argFundamental,
CLAM::SpectralPeakArray argSpectralPeaks,
CLAM::Spectrum argResidual,
TTime argFrameCenterTime 
)
void CLAM::SDIFFileReader::SetReadPosition ( int  readPosition)

Definition at line 304 of file SDIFFileReader.cxx.

References mpFile, and SDIF::File::Pos().


Member Data Documentation

SDIF::File* CLAM::SDIFFileReader::mpFile

The documentation for this class was generated from the following files: