UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FGenericPlatformMemory::FSharedMemoryRegion Struct Reference

#include <GenericPlatformMemory.h>

+ Inheritance diagram for FGenericPlatformMemory::FSharedMemoryRegion:

Public Member Functions

const TCHARGetName () const
 
voidGetAddress ()
 
const voidGetAddress () const
 
SIZE_T GetSize () const
 
 FSharedMemoryRegion (const FString &InName, uint32 InAccessMode, void *InAddress, SIZE_T InSize)
 

Protected Types

enum  Limits { MaxSharedMemoryName = 128 }
 

Protected Attributes

TCHAR Name [MaxSharedMemoryName]
 
uint32 AccessMode
 
voidAddress
 
SIZE_T Size
 

Detailed Description

Generic representation of a shared memory region

Member Enumeration Documentation

◆ Limits

Enumerator
MaxSharedMemoryName 

Constructor & Destructor Documentation

◆ FSharedMemoryRegion()

FGenericPlatformMemory::FSharedMemoryRegion::FSharedMemoryRegion ( const FString &  InName,
uint32  InAccessMode,
void InAddress,
SIZE_T  InSize 
)

Member Function Documentation

◆ GetAddress() [1/2]

void * FGenericPlatformMemory::FSharedMemoryRegion::GetAddress ( )
inline

Returns the beginning of the region in process address space

◆ GetAddress() [2/2]

const void * FGenericPlatformMemory::FSharedMemoryRegion::GetAddress ( ) const
inline

Returns the beginning of the region in process address space

◆ GetName()

const TCHAR * FGenericPlatformMemory::FSharedMemoryRegion::GetName ( ) const
inline

Returns the name of the region

◆ GetSize()

SIZE_T FGenericPlatformMemory::FSharedMemoryRegion::GetSize ( ) const
inline

Returns size of the region in bytes

Member Data Documentation

◆ AccessMode

uint32 FGenericPlatformMemory::FSharedMemoryRegion::AccessMode
protected

Access mode for the region

◆ Address

void* FGenericPlatformMemory::FSharedMemoryRegion::Address
protected

The actual buffer

◆ Name

TCHAR FGenericPlatformMemory::FSharedMemoryRegion::Name[MaxSharedMemoryName]
protected

Name of the region

◆ Size

SIZE_T FGenericPlatformMemory::FSharedMemoryRegion::Size
protected

Size of the buffer


The documentation for this struct was generated from the following files: