casacore
Loading...
Searching...
No Matches
casacore::AlignedAllocator< T, ALIGNMENT > Class Template Reference

An allocator which allocates aligned memory. More...

#include <Allocator.h>

Public Types

typedef casacore_allocator< T, ALIGNMENT > type
Public Types inherited from casacore::BaseAllocator< T, AlignedAllocator< T, CASA_DEFAULT_ALIGNMENT > >
typedef T value_type
typedef AlignedAllocator< T, CASA_DEFAULT_ALIGNMENTfacade_type
Public Types inherited from casacore::AbstractAllocator< T >
typedef T value_type

Static Public Attributes

static AlignedAllocator< T, ALIGNMENT > value
 an instance of this allocator.

Protected Member Functions

 AlignedAllocator ()
Protected Member Functions inherited from casacore::BaseAllocator< T, AlignedAllocator< T, CASA_DEFAULT_ALIGNMENT > >
 BaseAllocator ()
virtual Allocator_private::BulkAllocator< T > * getAllocator () const override
Protected Member Functions inherited from casacore::AbstractAllocator< T >
 AbstractAllocator ()

Additional Inherited Members

Public Member Functions inherited from casacore::BaseAllocator< T, AlignedAllocator< T, CASA_DEFAULT_ALIGNMENT > >
virtual ~BaseAllocator ()
Public Member Functions inherited from casacore::AbstractAllocator< T >
virtual ~AbstractAllocator ()

Detailed Description

template<typename T, size_t ALIGNMENT = CASA_DEFAULT_ALIGNMENT>
class casacore::AlignedAllocator< T, ALIGNMENT >

An allocator which allocates aligned memory.

Definition at line 372 of file Allocator.h.

Member Typedef Documentation

◆ type

template<typename T, size_t ALIGNMENT = CASA_DEFAULT_ALIGNMENT>
typedef casacore_allocator<T, ALIGNMENT> casacore::AlignedAllocator< T, ALIGNMENT >::type

Definition at line 374 of file Allocator.h.

Constructor & Destructor Documentation

◆ AlignedAllocator()

template<typename T, size_t ALIGNMENT = CASA_DEFAULT_ALIGNMENT>
casacore::AlignedAllocator< T, ALIGNMENT >::AlignedAllocator ( )
inlineprotected

Definition at line 378 of file Allocator.h.

Member Data Documentation

◆ value

template<typename T, size_t ALIGNMENT = CASA_DEFAULT_ALIGNMENT>
AlignedAllocator<T, ALIGNMENT> casacore::AlignedAllocator< T, ALIGNMENT >::value
static

an instance of this allocator.

Definition at line 376 of file Allocator.h.


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