svcore  1.9
FFTFileCacheReader Class Reference

#include <FFTFileCacheReader.h>

Inheritance diagram for FFTFileCacheReader:
Collaboration diagram for FFTFileCacheReader:

List of all members.

Public Member Functions

 FFTFileCacheReader (FFTFileCacheWriter *)
 ~FFTFileCacheReader ()
int getWidth () const
int getHeight () const
float getMagnitudeAt (int x, int y) const
float getNormalizedMagnitudeAt (int x, int y) const
float getMaximumMagnitudeAt (int x) const
float getPhaseAt (int x, int y) const
void getValuesAt (int x, int y, float &real, float &imag) const
void getMagnitudesAt (int x, float *values, int minbin, int count, int step) const
bool haveSetColumnAt (int x) const
FFTCache::StorageType getStorageType () const

Static Public Member Functions

static int getCacheSize (int width, int height, FFTCache::StorageType type)

Protected Member Functions

float getFromReadBufStandard (int x, int y) const
float getFromReadBufCompactUnsigned (int x, int y) const
float getFromReadBufCompactSigned (int x, int y) const
void populateReadBuf (int x) const
float getNormalizationFactor (int col) const

Protected Attributes

char * m_readbuf
int m_readbufCol
int m_readbufWidth
bool m_readbufGood
FFTCache::StorageType m_storageType
int m_factorSize
MatrixFilem_mfc

Detailed Description

Definition at line 25 of file FFTFileCacheReader.h.


Constructor & Destructor Documentation

Definition at line 50 of file FFTFileCacheReader.cpp.

References m_mfc, and m_readbuf.


Member Function Documentation

int FFTFileCacheReader::getWidth ( ) const [virtual]

Implements FFTCacheReader.

Definition at line 57 of file FFTFileCacheReader.cpp.

References MatrixFile::getWidth(), and m_mfc.

int FFTFileCacheReader::getHeight ( ) const [virtual]

Implements FFTCacheReader.

Definition at line 63 of file FFTFileCacheReader.cpp.

References MatrixFile::getHeight(), m_factorSize, and m_mfc.

float FFTFileCacheReader::getMaximumMagnitudeAt ( int  x) const [virtual]

Implements FFTCacheReader.

Definition at line 126 of file FFTFileCacheReader.cpp.

References getNormalizationFactor().

void FFTFileCacheReader::getValuesAt ( int  x,
int  y,
float &  real,
float &  imag 
) const [virtual]
void FFTFileCacheReader::getMagnitudesAt ( int  x,
float *  values,
int  minbin,
int  count,
int  step 
) const [virtual]
bool FFTFileCacheReader::haveSetColumnAt ( int  x) const [virtual]
int FFTFileCacheReader::getCacheSize ( int  width,
int  height,
FFTCache::StorageType  type 
) [static]

Definition at line 228 of file FFTFileCacheReader.cpp.

References FFTCache::Compact.

Implements FFTCacheReader.

Definition at line 47 of file FFTFileCacheReader.h.

References m_storageType.

float FFTFileCacheReader::getFromReadBufCompactSigned ( int  x,
int  y 
) const [inline, protected]

Member Data Documentation

bool FFTFileCacheReader::m_readbufGood [mutable, protected]

Definition at line 53 of file FFTFileCacheReader.h.

Referenced by haveSetColumnAt(), and populateReadBuf().

Definition at line 119 of file FFTFileCacheReader.h.

Referenced by getHeight(), and getNormalizationFactor().


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