svcore  1.9
FFTFileCacheReader Class Reference

#include <FFTFileCacheReader.h>

Inheritance diagram for FFTFileCacheReader:
Collaboration diagram for FFTFileCacheReader:

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

◆ FFTFileCacheReader()

FFTFileCacheReader::FFTFileCacheReader ( FFTFileCacheWriter writer)

Definition at line 33 of file FFTFileCacheReader.cpp.

◆ ~FFTFileCacheReader()

FFTFileCacheReader::~FFTFileCacheReader ( )

Definition at line 50 of file FFTFileCacheReader.cpp.

References m_mfc, and m_readbuf.

Member Function Documentation

◆ getWidth()

int FFTFileCacheReader::getWidth ( ) const
virtual

Implements FFTCacheReader.

Definition at line 57 of file FFTFileCacheReader.cpp.

References MatrixFile::getWidth(), and m_mfc.

◆ getHeight()

int FFTFileCacheReader::getHeight ( ) const
virtual

Implements FFTCacheReader.

Definition at line 63 of file FFTFileCacheReader.cpp.

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

◆ getMagnitudeAt()

float FFTFileCacheReader::getMagnitudeAt ( int  x,
int  y 
) const
virtual

◆ getNormalizedMagnitudeAt()

float FFTFileCacheReader::getNormalizedMagnitudeAt ( int  x,
int  y 
) const
virtual

◆ getMaximumMagnitudeAt()

float FFTFileCacheReader::getMaximumMagnitudeAt ( int  x) const
virtual

Implements FFTCacheReader.

Definition at line 126 of file FFTFileCacheReader.cpp.

References getNormalizationFactor().

◆ getPhaseAt()

float FFTFileCacheReader::getPhaseAt ( int  x,
int  y 
) const
virtual

◆ getValuesAt()

void FFTFileCacheReader::getValuesAt ( int  x,
int  y,
float &  real,
float &  imag 
) const
virtual

◆ getMagnitudesAt()

void FFTFileCacheReader::getMagnitudesAt ( int  x,
float *  values,
int  minbin,
int  count,
int  step 
) const
virtual

◆ haveSetColumnAt()

bool FFTFileCacheReader::haveSetColumnAt ( int  x) const
virtual

◆ getCacheSize()

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

Definition at line 228 of file FFTFileCacheReader.cpp.

References FFTCache::Compact.

◆ getStorageType()

FFTCache::StorageType FFTFileCacheReader::getStorageType ( ) const
inlinevirtual

Implements FFTCacheReader.

Definition at line 47 of file FFTFileCacheReader.h.

References m_storageType.

◆ getFromReadBufStandard()

float FFTFileCacheReader::getFromReadBufStandard ( int  x,
int  y 
) const
inlineprotected

◆ getFromReadBufCompactUnsigned()

float FFTFileCacheReader::getFromReadBufCompactUnsigned ( int  x,
int  y 
) const
inlineprotected

◆ getFromReadBufCompactSigned()

float FFTFileCacheReader::getFromReadBufCompactSigned ( int  x,
int  y 
) const
inlineprotected

◆ populateReadBuf()

◆ getNormalizationFactor()

float FFTFileCacheReader::getNormalizationFactor ( int  col) const
inlineprotected

Member Data Documentation

◆ m_readbuf

◆ m_readbufCol

int FFTFileCacheReader::m_readbufCol
mutableprotected

◆ m_readbufWidth

int FFTFileCacheReader::m_readbufWidth
mutableprotected

◆ m_readbufGood

bool FFTFileCacheReader::m_readbufGood
mutableprotected

Definition at line 53 of file FFTFileCacheReader.h.

Referenced by haveSetColumnAt(), and populateReadBuf().

◆ m_storageType

◆ m_factorSize

int FFTFileCacheReader::m_factorSize
protected

Definition at line 119 of file FFTFileCacheReader.h.

Referenced by getHeight(), and getNormalizationFactor().

◆ m_mfc


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