FIndexedPointer

Windows
MacOS
Linux

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
)

References

Module

Core

Header

Runtime/Core/Public/Containers/LockFreeList.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback