Navigation
API > API/Runtime > API/Runtime/TypedElementRuntime
Utility to register and retrieve interface customizations for a given type.
| Name | TTypedElementInterfaceCustomizationRegistry |
| Type | class |
| Header File | /Engine/Source/Runtime/TypedElementRuntime/Public/Elements/Framework/TypedElementInterfaceCustomization.h |
| Include Path | #include "Elements/Framework/TypedElementInterfaceCustomization.h" |
Syntax
template<typename CustomizationBaseType, typename DefaultCustomizationType>
class TTypedElementInterfaceCustomizationRegistry : public FTypedElementInterfaceCustomizationRegistryBase
Inheritance Hierarchy
- FTypedElementInterfaceCustomizationRegistryBase → TTypedElementInterfaceCustomizationRegistry
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TTypedElementInterfaceCustomizationRegistry
(
TDefaultArgs&&... DefaultArgs |
Elements/Framework/TypedElementInterfaceCustomization.h | ||
| Elements/Framework/TypedElementInterfaceCustomization.h | |||
| Elements/Framework/TypedElementInterfaceCustomization.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~TTypedElementInterfaceCustomizationRegistry() |
Elements/Framework/TypedElementInterfaceCustomization.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DefaultInterfaceCustomization | TUniquePtr< CustomizationBaseType > | Default interface customization, used if no type-specific override is present. | Elements/Framework/TypedElementInterfaceCustomization.h | |
| RegisteredInterfaceCustomizations | TUniquePtr< CustomizationBaseType > | Array of registered interface customizations, indexed by ElementTypeId-1. | Elements/Framework/TypedElementInterfaceCustomization.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
CustomizationBaseType * GetDefaultInterfaceCustomization() |
Return the default interface customization instance. | Elements/Framework/TypedElementInterfaceCustomization.h | |
CustomizationBaseType * GetInterfaceCustomizationByTypeId
(
const FTypedHandleTypeId InElementTypeId, |
Get the interface customization for the given element type. | Elements/Framework/TypedElementInterfaceCustomization.h | |
CustomizationBaseType * GetInterfaceCustomizationByTypeName
(
const FName InElementTypeName, |
Get the interface customization for the given element type. | Elements/Framework/TypedElementInterfaceCustomization.h | |
void RegisterInterfaceCustomizationByTypeId
(
const FTypedHandleTypeId InElementTypeId, |
Register an interface customization for the given element type. | Elements/Framework/TypedElementInterfaceCustomization.h | |
void RegisterInterfaceCustomizationByTypeName
(
const FName InElementTypeName, |
Register an interface customization for the given element type. | Elements/Framework/TypedElementInterfaceCustomization.h | |
void SetDefaultInterfaceCustomization
(
TUniquePtr< CustomizationBaseType >&& InInterfaceCustomization |
Set the default interface customization instance. | Elements/Framework/TypedElementInterfaceCustomization.h | |
void UnregisterInterfaceCustomizationByTypeId
(
const FTypedHandleTypeId InElementTypeId |
Unregister an interface customization for the given element type. | Elements/Framework/TypedElementInterfaceCustomization.h | |
void UnregisterInterfaceCustomizationByTypeName
(
const FName InElementTypeName |
Unregister an interface customization for the given element type. | Elements/Framework/TypedElementInterfaceCustomization.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Elements/Framework/TypedElementInterfaceCustomization.h | |||
| Elements/Framework/TypedElementInterfaceCustomization.h |