FSharedMemoryRegion

Generic representation of a shared memory region

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FGenericPlatformMemory::FSharedMemoryRegion

FHoloLensPlatformMemory::FHoloLensSharedMemoryRegion

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMemory.h

Include

#include "GenericPlatform/GenericPlatformMemory.h"

Syntax

struct FSharedMemoryRegion

Remarks

Generic representation of a shared memory region

Variables

Name Description

Protected variable

uint32

 

AccessMode

Access mode for the region

Protected variable

void *

 

Address

The actual buffer

Protected variable

TCHAR[MaxShared...

 

Name

Name of the region

Protected variable

SIZE_T

 

Size

Size of the buffer

Constructors

Name Description

Public function

FSharedMemoryRegion

(
    const FString& InName,
    uint32 InAccessMode,
    void* InAddress,
    SIZE_T InSize
)

Functions

Name Description

Public function

void *

 

GetAddress()

Returns the beginning of the region in process address space

Public function Const

const void &...

 

GetAddress()

Returns the beginning of the region in process address space

Public function Const

const TCHAR ...

 

GetName()

Returns the name of the region

Public function Const

SIZE_T

 

GetSize()

Returns size of the region in bytes

Enums

Name

Description

Protected enum

Limits