Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
MemStack.h File Reference
#include "Containers/ContainerAllocationPolicies.h"
#include "Containers/LockFreeFixedSizeAllocator.h"
#include "CoreGlobals.h"
#include "CoreTypes.h"
#include "HAL/MemoryBase.h"
#include "HAL/PlatformCrt.h"
#include "HAL/ThreadSafeCounter.h"
#include "HAL/ThreadSingleton.h"
#include "HAL/UnrealMemory.h"
#include "Math/UnrealMathUtility.h"
#include "Misc/AssertionMacros.h"
#include "Misc/Build.h"
#include "Misc/NoopCounter.h"
#include "Templates/AlignmentTemplates.h"
#include "Templates/UnrealTemplate.h"
+ Include dependency graph for MemStack.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FPageAllocator
 
class  FMemStackBase
 
struct  FMemStackBase::FTaggedMemory
 
class  FMemStack
 
class  TMemStackAllocator< Alignment >
 
class  TMemStackAllocator< Alignment >::ForElementType< ElementType >
 
struct  TAllocatorTraits< TMemStackAllocator< Alignment > >
 
class  FMemMark
 

Enumerations

enum  EMemZeroed { MEM_Zeroed = 0x1 , MEM_Zeroed = 1 , MEM_Zeroed = 0x1 }
 
enum  EMemOned { MEM_Oned = 0x1 , MEM_Oned = 1 , MEM_Oned = 0x1 }
 

Functions

template<class T >
TNew (FMemStackBase &Mem, int32 Count=1, int32 Align=DEFAULT_ALIGNMENT)
 
template<class T >
TNewZeroed (FMemStackBase &Mem, int32 Count=1, int32 Align=DEFAULT_ALIGNMENT)
 
template<class T >
TNewOned (FMemStackBase &Mem, int32 Count=1, int32 Align=DEFAULT_ALIGNMENT)
 
voidoperator new (size_t Size, FMemStackBase &Mem, int32 Count=1)
 
voidoperator new (size_t Size, std::align_val_t Align, FMemStackBase &Mem, int32 Count=1)
 
voidoperator new (size_t Size, FMemStackBase &Mem, EMemZeroed Tag, int32 Count=1)
 
voidoperator new (size_t Size, std::align_val_t Align, FMemStackBase &Mem, EMemZeroed Tag, int32 Count=1)
 
voidoperator new (size_t Size, FMemStackBase &Mem, EMemOned Tag, int32 Count=1)
 
voidoperator new (size_t Size, std::align_val_t Align, FMemStackBase &Mem, EMemOned Tag, int32 Count=1)
 
voidoperator new[] (size_t Size, FMemStackBase &Mem, int32 Count=1)
 
voidoperator new[] (size_t Size, std::align_val_t Align, FMemStackBase &Mem, int32 Count=1)
 
voidoperator new[] (size_t Size, FMemStackBase &Mem, EMemZeroed Tag, int32 Count=1)
 
voidoperator new[] (size_t Size, std::align_val_t Align, FMemStackBase &Mem, EMemZeroed Tag, int32 Count=1)
 
voidoperator new[] (size_t Size, FMemStackBase &Mem, EMemOned Tag, int32 Count=1)
 
voidoperator new[] (size_t Size, std::align_val_t Align, FMemStackBase &Mem, EMemOned Tag, int32 Count=1)
 

Enumeration Type Documentation

◆ EMemOned

Enumerator
MEM_Oned 
MEM_Oned 
MEM_Oned 

Definition at line 29 of file MemStack.h.

◆ EMemZeroed

Enumerator
MEM_Zeroed 
MEM_Zeroed 
MEM_Zeroed 

Definition at line 23 of file MemStack.h.

Function Documentation

◆ New()

template<class T >
T * New ( FMemStackBase & Mem,
int32 Count = 1,
int32 Align = DEFAULT_ALIGNMENT )
inline

Definition at line 235 of file MemStack.h.

◆ NewOned()

template<class T >
T * NewOned ( FMemStackBase & Mem,
int32 Count = 1,
int32 Align = DEFAULT_ALIGNMENT )
inline

Definition at line 245 of file MemStack.h.

◆ NewZeroed()

template<class T >
T * NewZeroed ( FMemStackBase & Mem,
int32 Count = 1,
int32 Align = DEFAULT_ALIGNMENT )
inline

Definition at line 239 of file MemStack.h.

◆ operator new() [1/6]

void * operator new ( size_t Size,
FMemStackBase & Mem,
EMemOned Tag,
int32 Count = 1 )
inline

Definition at line 290 of file MemStack.h.

◆ operator new() [2/6]

void * operator new ( size_t Size,
FMemStackBase & Mem,
EMemZeroed Tag,
int32 Count = 1 )
inline

Definition at line 272 of file MemStack.h.

◆ operator new() [3/6]

void * operator new ( size_t Size,
FMemStackBase & Mem,
int32 Count = 1 )
inline

Definition at line 258 of file MemStack.h.

◆ operator new() [4/6]

void * operator new ( size_t Size,
std::align_val_t Align,
FMemStackBase & Mem,
EMemOned Tag,
int32 Count = 1 )
inline

Definition at line 299 of file MemStack.h.

◆ operator new() [5/6]

void * operator new ( size_t Size,
std::align_val_t Align,
FMemStackBase & Mem,
EMemZeroed Tag,
int32 Count = 1 )
inline

Definition at line 281 of file MemStack.h.

◆ operator new() [6/6]

void * operator new ( size_t Size,
std::align_val_t Align,
FMemStackBase & Mem,
int32 Count = 1 )
inline

Definition at line 265 of file MemStack.h.

◆ operator new[]() [1/6]

void * operator new[] ( size_t Size,
FMemStackBase & Mem,
EMemOned Tag,
int32 Count = 1 )
inline

Definition at line 340 of file MemStack.h.

◆ operator new[]() [2/6]

void * operator new[] ( size_t Size,
FMemStackBase & Mem,
EMemZeroed Tag,
int32 Count = 1 )
inline

Definition at line 322 of file MemStack.h.

◆ operator new[]() [3/6]

void * operator new[] ( size_t Size,
FMemStackBase & Mem,
int32 Count = 1 )
inline

Definition at line 308 of file MemStack.h.

◆ operator new[]() [4/6]

void * operator new[] ( size_t Size,
std::align_val_t Align,
FMemStackBase & Mem,
EMemOned Tag,
int32 Count = 1 )
inline

Definition at line 349 of file MemStack.h.

◆ operator new[]() [5/6]

void * operator new[] ( size_t Size,
std::align_val_t Align,
FMemStackBase & Mem,
EMemZeroed Tag,
int32 Count = 1 )
inline

Definition at line 331 of file MemStack.h.

◆ operator new[]() [6/6]

void * operator new[] ( size_t Size,
std::align_val_t Align,
FMemStackBase & Mem,
int32 Count = 1 )
inline

Definition at line 315 of file MemStack.h.