CARMA C++
|
Allocator for memory for use by FFTW. More...
#include <carma/util/FftwAllocator.h>
Public Member Functions | |
pointer | address (reference value) const |
const_pointer | address (const_reference value) const |
pointer | allocate (size_type num, const void *hint=0) |
void | construct (pointer p, const T &value) |
void | deallocate (pointer p, size_type num) |
void | destroy (pointer p) |
FftwAllocator () throw ( ) | |
Constructors and destructor. More... | |
FftwAllocator (const FftwAllocator &) throw ( ) | |
template<class U > | |
FftwAllocator (const FftwAllocator< U > &) throw ( ) | |
size_type | max_size () const throw ( ) |
Allocator for memory for use by FFTW.
In order for fftw to take advantage of specific processor features like SIMD instruction sets, allocated memory must be properly alligned. FFTW provides the fftw_malloc and fftw_free functions for this purpose which this allocator uses.
Definition at line 30 of file FftwAllocator.h.
carma::util::FftwAllocator< T >::FftwAllocator | ( | ) | ||
throw | ( | |||
) |
Constructors and destructor.
Definition at line 63 of file FftwAllocator.h.