TTypedElementOwnerScopedAccessImpl

Type to keep a lock on the [TTypedElementOwnerStore](API\Runtime\TypedElementFramework\Elements\Framework\TTypedElementOwnerStore) for the duration of time that a [TTypedElementOwner](API\Runtime\TypedElementFramework\Elements\Framework\TTypedElementOwner) is being externally referenced.

Choose your operating system:

Windows

macOS

Linux

References

Module

TypedElementFramework

Header

/Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementOwnerStore.h

Include

#include "Elements/Framework/TypedElementOwnerStore.h"

Syntax

template<typename ElementOwnerType>
struct TTypedElementOwnerScopedAccessImpl

Remarks

Type to keep a lock on the TTypedElementOwnerStore for the duration of time that a TTypedElementOwner is being externally referenced. This avoids invalid memory access if the map is reallocated.

Constructors

Destructors

Functions

Name Description

Public function Const

bool

 

IsSet()

Public function

void

 

Private_SetElementOwner

(
    ElementOwnerType* InElementOwn...
)

Operators

Name Description

Public function Const

 

operator bool()

Public function Const

ElementOwner...

 

operator*()

Public function

TTypedElemen...

 

operator=

(
    const TTypedElementOwnerScopedAcces...
)

Public function

TTypedElemen...

 

operator=

Public function Const

ElementOwner...

 

operator->()