Navigation
API > API/Runtime > API/Runtime/Core
The BulkObjectAllocator can be used to atomically destroy all allocated Objects, it will properly call every destructor before deleting the memory as well.
| Name | TConcurrentLinearBulkObjectAllocator |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Experimental/ConcurrentLinearAllocator.h |
| Include Path | #include "Experimental/ConcurrentLinearAllocator.h" |
Syntax
template<typename BlockAllocationTag>
class TConcurrentLinearBulkObjectAllocator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TConcurrentLinearBulkObjectAllocator() |
Experimental/ConcurrentLinearAllocator.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~TConcurrentLinearBulkObjectAllocator() |
Experimental/ConcurrentLinearAllocator.h |
Structs
| Name | Remarks |
|---|---|
| FAllocation | |
| TObject | |
| TObjectArray |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ThisType | TConcurrentLinearBulkObjectAllocator< BlockAllocationTag > | Experimental/ConcurrentLinearAllocator.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Next | std::atomic< FAllocation * > | Experimental/ConcurrentLinearAllocator.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BulkDelete() |
Experimental/ConcurrentLinearAllocator.h | ||
T * Create
(
TArgs&&... Args |
Experimental/ConcurrentLinearAllocator.h | ||
T * CreateArray
(
SIZE_T Num, |
Experimental/ConcurrentLinearAllocator.h | ||
T * Malloc () |
Experimental/ConcurrentLinearAllocator.h | ||
void * Malloc
(
SIZE_T Size, |
Experimental/ConcurrentLinearAllocator.h | ||
T * MallocAndMemset
(
uint8 MemsetChar |
Experimental/ConcurrentLinearAllocator.h | ||
void * MallocAndMemset
(
SIZE_T Size, |
Experimental/ConcurrentLinearAllocator.h | ||
T * MallocAndMemsetArray
(
SIZE_T Num, |
Experimental/ConcurrentLinearAllocator.h | ||
T * MallocArray
(
SIZE_T Num |
Experimental/ConcurrentLinearAllocator.h |