Navigation
API > API/Runtime > API/Runtime/TypedElementFramework
Scope object to tell TEDS Compatibility that any objects being registered on that thread with this scope should be immediately registered instead of queued up once this goes out of scope.
Scopes can be nested and are able to provide the row handles to the objects that have been newly or previously registered. The scope is local to the calling thread so other threads will continue to queue registrations.
The immediate mode limits how much batch and distributed registration TEDS Compatibility can do. Avoid using this scope when possible and prefer to limit the use to a small number of objects. This scope was introduced to aid the transition to the multi-threaded environment TEDS provides and as such this scope may be removed in the future.
Warning: This scope is to aid the transition of existing single-threaded systems over to the editor data storage.
| Name | FObjectCompatibilityImmediateScope |
| Type | class |
| Header File | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Interfaces/TypedElementDataStorageCompatibilityInterface.h |
| Include Path | #include "Elements/Interfaces/TypedElementDataStorageCompatibilityInterface.h" |
Syntax
class FObjectCompatibilityImmediateScope
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FObjectCompatibilityImmediateScope
(
ICompatibilityProvider& InCompatibility |
Implementations | Elements/Interfaces/TypedElementDataStorageCompatibilityInterface.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FObjectCompatibilityImmediateScope() |
Elements/Interfaces/TypedElementDataStorageCompatibilityInterface.h |
Structs
| Name | Remarks |
|---|---|
| ObjectInfoType |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Compatibility | ICompatibilityProvider & | Elements/Interfaces/TypedElementDataStorageCompatibilityInterface.h | ||
| Objects | TArray< ObjectInfoType > | Elements/Interfaces/TypedElementDataStorageCompatibilityInterface.h | ||
| Previous | FObjectCompatibilityImmediateScope * | Elements/Interfaces/TypedElementDataStorageCompatibilityInterface.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
RowHandle FindObject
(
const void* Object |
Elements/Interfaces/TypedElementDataStorageCompatibilityInterface.h | ||
int32 GetObjectCount() |
Elements/Interfaces/TypedElementDataStorageCompatibilityInterface.h |