FIndexedPointer

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/LockFreeList.h

Include

#include "Containers/LockFreeList.h"

Syntax

struct FIndexedPointer

Functions

Name Description

Public function

void

 

AdvanceCounterAndState

(
    const FIndexedPointer& From,
    uint64 TABAInc
)

Public function

void

 

AtomicRead

(
    const FIndexedPointer& Other
)

Public function Const

uint64

 

GetCounterAndState()

Public function Const

uint32

 

GetPtr()

Public function Const

uint64

 

GetState()

Public function

void

 

Init()

This should only be used for FIndexedPointer's with no outstanding concurrency.

Public function

bool

 

InterlockedCompareExchange

(
    const FIndexedPointer& Exchange,
    const FIndexedPointer& Comparand
)

Public function

void

 

SetAll

(
    uint32 Ptr,
    uint64 CounterAndState
)

Public function

void

 

SetCounterAndState

(
    uint64 To
)

Public function

void

 

SetPtr

(
    uint32 To
)

Public function

void

 

SetState

(
    uint64 Value
)

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const FIndexedPointer& Other
)

Public function Const

bool

 

operator==

(
    const FIndexedPointer& Other
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss