TConcurrentLinearBulkObjectAllocator

The BulkObjectAllocator can be used to atomically destroy all allocated Objects, it will properly call every destructor before deleting the memory as well.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Experimental/ConcurrentLinearAllocator.h

Include

#include "Experimental/ConcurrentLinearAllocator.h"

Syntax

template<typename BlockAllocationTag>
class TConcurrentLinearBulkObjectAllocator

Remarks

The BulkObjectAllocator can be used to atomically destroy all allocated Objects, it will properly call every destructor before deleting the memory as well.

Constructors

Destructors

Functions

Name Description

Public function

void

 

BulkDelete()

Public function

T *

 

Create

(
    TArgs&&... Args
)

Public function

T *

 

CreateArray

(
    SIZE_T Num,
    const TArgs&... Args
)

Public function

void *

 

Malloc

(
    SIZE_T Size,
    uint32 Alignment
)

Typedefs

Name

Description

ThisType