![]() |
VISR
0.11.8
Versatile Interactive Scene Renderer
|
#include <fft_wrapper_factory.hpp>
Static Public Member Functions | |
static std::unique_ptr< FftWrapperBase< SampleType > > | create (std::string const &wrapperName, std::size_t fftSize, std::size_t alignElements) |
template<class FftWrapper > | |
static void | registerWrapper (std::string const &wrapperName) |
static std::string | listImplementations () |
Factory class to construct FftWrapper objects of different types. It is intended to be used only through its static function interface.
DataType | The value type for the FFT implementations - generally float or double. |
|
static |
Creation function for FftWrapper objects.
wrapperName | The name of the FFT library to be instantiated, or "default" to instantiate the default choice for this platform. |
fftSize | The size of the FFTs (number of real samples used as input to the forward FFT). |
alignElements | Alignment of the vectors passed to the FFT (in number of samples). |
|
static |
Return a list of strings containing the names of the FFT wrappers available on this platform (and for this data type).
|
static |
Template function to register a FFT wrapper withing the factory.