SPH
Public Member Functions | List of all members
Mallocator Class Reference

Default allocator, simply wrapping _mm_malloc and _mm_free calls. More...

#include <Allocators.h>

Inheritance diagram for Mallocator:
Array< Callback > Array< BasicVector > Array< PlotPoint > Array< InnerNode< TNode > > Array< Post::HistPoint > Array< Array< Size > > Array< BinaryInput::Info::QuantityInfo > Array< Size > Array< AutoPtr< ITextColumn > > Array< SharedPtr< Texture > > Array< Mesh::Face > Array< SharedPtr< JobNode > > Array< Float > Array< Aggregate > Array< SharedPtr< IColorizer > > Array< Palette::Point > Array< Rgba > Array< std::string > Array< AutoPtr< std::thread > > Array< IntersectionInfo > Array< AutoPtr< ITimeStepCriterion > > Array< AffineMatrix > Array< float > Array< CompressedVector > Array< std::remove_const_t< T > > Array< BvhTriangle > Array< TValue > Array< UnorderedMap::Element > Array< WeakPtr< JobNode > > Array< QuantityRecord > Array< Element > Array< Array< std::string > > Array< MatRange > Array< T, Mallocator, uint64_t > Array< IVirtualEntry::FileFormat > Array< ArgDesc > Array< Sphere > Array< Array > Array< InnerNode< BarnesHutNode > > Array< RawPtr< Aggregate > > Array< TimerEntry > Array< std::pair< CurvePoint, bool > > Array< BodyMetadata > Array< Type > Array< Col > Array< WeakPtr< Storage > > Array< ExtendedEnum > Array< Ghost > Array< Function > Array< AutoPtr< IColorizer > > Array< AutoPtr< IDiagnostic > > Array< char > Array< Local > Array< Triangle > Array< BvhSphere > Array< SharedPtr< Unit > > Array< TBvhObject > Array< FlatMap::Element > Array< AutoPtr< IAsymmetricDerivative > > Array< Group > Array< LockingPtr< IPlot > > Array< AutoPtr< IPlot > > Array< AutoPtr< ILogger > > Array< Array< BasicVector > > Array< BvhNode > Array< NeighbourRecord > Array< IRenderOutput::Label > Array< CollisionRecord > Array< SharedPtr< IEquationTerm > > Array< T, TAllocator, TCounter >

Public Member Functions

INLINE MemoryBlock allocate (const std::size_t size, const std::size_t align) noexcept
 
INLINE void deallocate (MemoryBlock &block) noexcept
 

Detailed Description

Default allocator, simply wrapping _mm_malloc and _mm_free calls.

Definition at line 29 of file Allocators.h.

Member Function Documentation

◆ allocate()

INLINE MemoryBlock Mallocator::allocate ( const std::size_t  size,
const std::size_t  align 
)
inlinenoexcept

Definition at line 31 of file Allocators.h.

◆ deallocate()

INLINE void Mallocator::deallocate ( MemoryBlock block)
inlinenoexcept

Definition at line 42 of file Allocators.h.


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