|
svcore
1.9
|
#include <FFTFileCacheReader.h>


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 |
| MatrixFile * | m_mfc |
Definition at line 25 of file FFTFileCacheReader.h.
| FFTFileCacheReader::FFTFileCacheReader | ( | FFTFileCacheWriter * | writer | ) |
Definition at line 33 of file FFTFileCacheReader.cpp.
| FFTFileCacheReader::~FFTFileCacheReader | ( | ) |
Definition at line 50 of file FFTFileCacheReader.cpp.
|
virtual |
Implements FFTCacheReader.
Definition at line 57 of file FFTFileCacheReader.cpp.
References MatrixFile::getWidth(), and m_mfc.
|
virtual |
Implements FFTCacheReader.
Definition at line 63 of file FFTFileCacheReader.cpp.
References MatrixFile::getHeight(), m_factorSize, and m_mfc.
|
virtual |
Implements FFTCacheReader.
Definition at line 71 of file FFTFileCacheReader.cpp.
References FFTCache::Compact, getFromReadBufCompactUnsigned(), getFromReadBufStandard(), getNormalizationFactor(), getValuesAt(), m_storageType, FFTCache::Polar, and FFTCache::Rectangular.
Referenced by getNormalizedMagnitudeAt(), and getValuesAt().
|
virtual |
Implements FFTCacheReader.
Definition at line 101 of file FFTFileCacheReader.cpp.
References FFTCache::Compact, getFromReadBufCompactUnsigned(), getMagnitudeAt(), getNormalizationFactor(), m_storageType, FFTCache::Polar, and FFTCache::Rectangular.
|
virtual |
Implements FFTCacheReader.
Definition at line 126 of file FFTFileCacheReader.cpp.
References getNormalizationFactor().
|
virtual |
Implements FFTCacheReader.
Definition at line 132 of file FFTFileCacheReader.cpp.
References FFTCache::Compact, getFromReadBufCompactSigned(), getFromReadBufStandard(), getValuesAt(), m_storageType, FFTCache::Polar, and FFTCache::Rectangular.
Referenced by getValuesAt().
|
virtual |
Implements FFTCacheReader.
Definition at line 159 of file FFTFileCacheReader.cpp.
References FFTCache::Compact, getFromReadBufStandard(), getMagnitudeAt(), getPhaseAt(), m_storageType, FFTCache::Polar, and FFTCache::Rectangular.
Referenced by getMagnitudeAt(), and getPhaseAt().
|
virtual |
Implements FFTCacheReader.
Definition at line 181 of file FFTFileCacheReader.cpp.
References FFTCache::Compact, getFromReadBufCompactUnsigned(), getFromReadBufStandard(), getNormalizationFactor(), m_storageType, FFTCache::Polar, and FFTCache::Rectangular.
|
virtual |
Implements FFTCacheReader.
Definition at line 217 of file FFTFileCacheReader.cpp.
References MatrixFile::haveSetColumnAt(), m_mfc, m_readbuf, m_readbufCol, m_readbufGood, and m_readbufWidth.
|
static |
Definition at line 228 of file FFTFileCacheReader.cpp.
References FFTCache::Compact.
|
inlinevirtual |
Implements FFTCacheReader.
Definition at line 47 of file FFTFileCacheReader.h.
References m_storageType.
|
inlineprotected |
Definition at line 55 of file FFTFileCacheReader.h.
References MatrixFile::getHeight(), m_mfc, m_readbuf, m_readbufCol, m_readbufWidth, and populateReadBuf().
Referenced by getMagnitudeAt(), getMagnitudesAt(), getNormalizationFactor(), getPhaseAt(), and getValuesAt().
|
inlineprotected |
Definition at line 68 of file FFTFileCacheReader.h.
References MatrixFile::getHeight(), m_mfc, m_readbuf, m_readbufCol, m_readbufWidth, and populateReadBuf().
Referenced by getMagnitudeAt(), getMagnitudesAt(), and getNormalizedMagnitudeAt().
|
inlineprotected |
Definition at line 81 of file FFTFileCacheReader.h.
References MatrixFile::getHeight(), m_mfc, m_readbuf, m_readbufCol, m_readbufWidth, and populateReadBuf().
Referenced by getPhaseAt().
|
protected |
Definition at line 237 of file FFTFileCacheReader.cpp.
References MatrixFile::getCellSize(), MatrixFile::getColumnAt(), MatrixFile::getHeight(), MatrixFile::haveSetColumnAt(), m_mfc, m_readbuf, m_readbufCol, m_readbufGood, m_readbufWidth, and FileReadFailed::what().
Referenced by getFromReadBufCompactSigned(), getFromReadBufCompactUnsigned(), getFromReadBufStandard(), and getNormalizationFactor().
|
inlineprotected |
Definition at line 96 of file FFTFileCacheReader.h.
References FFTCache::Compact, getFromReadBufStandard(), MatrixFile::getHeight(), m_factorSize, m_mfc, m_readbuf, m_readbufCol, m_readbufWidth, m_storageType, and populateReadBuf().
Referenced by getMagnitudeAt(), getMagnitudesAt(), getMaximumMagnitudeAt(), and getNormalizedMagnitudeAt().
|
mutableprotected |
Definition at line 50 of file FFTFileCacheReader.h.
Referenced by getFromReadBufCompactSigned(), getFromReadBufCompactUnsigned(), getFromReadBufStandard(), getNormalizationFactor(), haveSetColumnAt(), populateReadBuf(), and ~FFTFileCacheReader().
|
mutableprotected |
Definition at line 51 of file FFTFileCacheReader.h.
Referenced by getFromReadBufCompactSigned(), getFromReadBufCompactUnsigned(), getFromReadBufStandard(), getNormalizationFactor(), haveSetColumnAt(), and populateReadBuf().
|
mutableprotected |
Definition at line 52 of file FFTFileCacheReader.h.
Referenced by getFromReadBufCompactSigned(), getFromReadBufCompactUnsigned(), getFromReadBufStandard(), getNormalizationFactor(), haveSetColumnAt(), and populateReadBuf().
|
mutableprotected |
Definition at line 53 of file FFTFileCacheReader.h.
Referenced by haveSetColumnAt(), and populateReadBuf().
|
protected |
Definition at line 118 of file FFTFileCacheReader.h.
Referenced by getMagnitudeAt(), getMagnitudesAt(), getNormalizationFactor(), getNormalizedMagnitudeAt(), getPhaseAt(), getStorageType(), and getValuesAt().
|
protected |
Definition at line 119 of file FFTFileCacheReader.h.
Referenced by getHeight(), and getNormalizationFactor().
|
protected |
Definition at line 120 of file FFTFileCacheReader.h.
Referenced by getFromReadBufCompactSigned(), getFromReadBufCompactUnsigned(), getFromReadBufStandard(), getHeight(), getNormalizationFactor(), getWidth(), haveSetColumnAt(), populateReadBuf(), and ~FFTFileCacheReader().