Base class for DFTs. More...
#include <DFT.h>
Public Member Functions | |
T * | aux (uint32_t num) |
Get pointer to an auxiliary buffer. | |
Complex< T > * | bins () const |
Get pointer to bin data. | |
Complex< T > & | bin (uint32_t k) |
Get reference to bin value. | |
const Complex< T > & | bin (uint32_t k) const |
Get read-only reference to bin value. | |
double | binFreq () const |
Get width of frequency bins. | |
uint32_t | numBins () const |
Get number of frequency bins. | |
uint32_t | sizeDFT () const |
Get size of forward transform. | |
Sync & | syncFreq () |
Get frequency domain synchronizer. | |
void | numAux (uint32_t num) |
Sets number of auxilliary buffers, each of size numBins() | |
virtual void | onResync (double r) |
Called by my Sync reference after it changes its value. | |
double | scaleSPU () const |
Returns ratio of my SPU to my Sync's SPU. | |
void | scaleSPU (double v) |
Scales samples/unit by factor. | |
double | spu () const |
Returns local samples/unit. | |
void | spu (double v) |
Set local samples/unit. | |
double | ups () const |
Returns local units/sample. | |
void | ups (double v) |
Set local units/sample. | |
const Sync * | sync () const |
Returns reference to my Sync. | |
void | sync (Sync &src) |
Set absolute Sync source. | |
void | scaleUPS (double v) |
Scales units/sample by factor. | |
void | nodeInsertL (Synced &node) |
Insert myself to left of node. | |
void | nodeInsertR (Synced &node) |
Insert myself to right of node. | |
void | nodeRemove () |
Remove myself from linked list. | |
Public Attributes | |
Synced * | nodeL |
Pointer to left node. | |
Synced * | nodeR |
Pointer to right node. | |
Protected Member Functions | |
void | initSynced () |
To be called from the constructor(s) of derived classes. |
Base class for DFTs.
void onResync | ( | double | ratioSPU | ) | [virtual] |