UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SlateAttributePrivate::TSlateManagedAttribute< InObjectType, InInvalidationReasonPredicate, InComparePredicate > Struct Template Reference
+ Inheritance diagram for SlateAttributePrivate::TSlateManagedAttribute< InObjectType, InInvalidationReasonPredicate, InComparePredicate >:

Public Types

using FGetter = typename Super::FGetter
 
using ObjectType = typename Super::ObjectType
 

Public Member Functions

 TSlateManagedAttribute ()=delete
 
 TSlateManagedAttribute (const TSlateManagedAttribute &)=delete
 
TSlateManagedAttributeoperator= (const TSlateManagedAttribute &)=delete
 
 ~TSlateManagedAttribute ()
 
 TSlateManagedAttribute (TSlateManagedAttribute &&Other)
 
TSlateManagedAttributeoperator= (TSlateManagedAttribute &&Other)
 
 TSlateManagedAttribute (TSharedRef< SWidget > Widget)
 
 TSlateManagedAttribute (TSharedRef< SWidget > Widget, const ObjectType &InValue)
 
 TSlateManagedAttribute (TSharedRef< SWidget > Widget, ObjectType &&InValue)
 
 TSlateManagedAttribute (TSharedRef< SWidget > Widget, const FGetter &Getter, const ObjectType &InitialValue)
 
 TSlateManagedAttribute (TSharedRef< SWidget > Widget, const FGetter &Getter, ObjectType &&InitialValue)
 
 TSlateManagedAttribute (TSharedRef< SWidget > Widget, FGetter &&Getter, const ObjectType &InitialValue)
 
 TSlateManagedAttribute (TSharedRef< SWidget > Widget, FGetter &&Getter, ObjectType &&InitialValue)
 
 TSlateManagedAttribute (TSharedRef< SWidget > Widget, const TAttribute< ObjectType > &Attribute, const ObjectType &InitialValue)
 
 TSlateManagedAttribute (TSharedRef< SWidget > Widget, TAttribute< ObjectType > &&Attribute, ObjectType &&InitialValue)
 
const ObjectTypeGet () const
 
void UpdateNow ()
 
void Set (const ObjectType &NewValue)
 
void Set (ObjectType &&NewValue)
 
void Bind (const FGetter &Getter)
 
void Bind (FGetter &&Getter)
 
void Assign (const TAttribute< ObjectType > &OtherAttribute)
 
void Assign (TAttribute< ObjectType > &&OtherAttribute)
 
void Assign (const TAttribute< ObjectType > &OtherAttribute, const ObjectType &DefaultValue)
 
void Assign (const TAttribute< ObjectType > &OtherAttribute, ObjectType &&DefaultValue)
 
void Assign (TAttribute< ObjectType > &&OtherAttribute, const ObjectType &DefaultValue)
 
void Assign (TAttribute< ObjectType > &&OtherAttribute, ObjectType &&DefaultValue)
 
void Unbind ()
 
bool IsBound () const
 
bool IdenticalTo (const TSlateManagedAttribute &Other) const
 
bool IdenticalTo (const TAttribute< ObjectType > &Other) const
 

Static Public Member Functions

static EInvalidateWidgetReason GetInvalidationReason (const SWidget &Widget)
 
static bool IdenticalTo (const SWidget &Widget, const ObjectType &Lhs, const ObjectType &Rhs)
 

Additional Inherited Members

- Protected Types inherited from SlateAttributePrivate::TSlateAttributeBase< SWidget, InObjectType, InInvalidationReasonPredicate, InComparePredicate, ESlateAttributeType::Managed >
using ObjectType = InObjectType
 
using FInvalidationReasonPredicate = InInvalidationReasonPredicate
 
using FGetter = typename TAttribute< ObjectType >::FGetter
 
using FComparePredicate = InComparePredicate
 
- Protected Member Functions inherited from SlateAttributePrivate::TSlateAttributeBase< SWidget, InObjectType, InInvalidationReasonPredicate, InComparePredicate, ESlateAttributeType::Managed >
bool IdenticalTo (const SWidget &Widget, const TSlateAttributeBase &Other) const
 
bool IdenticalTo (const SWidget &Widget, const TAttribute< ObjectType > &Other) const
 
 TSlateAttributeBase ()
 
 TSlateAttributeBase (const ObjectType &InValue)
 
 TSlateAttributeBase (ObjectType &&InValue)
 
 TSlateAttributeBase (SWidget &Widget)
 
 TSlateAttributeBase (SWidget &Widget, const ObjectType &InValue)
 
 TSlateAttributeBase (SWidget &Widget, ObjectType &&InValue)
 
 TSlateAttributeBase (SWidget &Widget, const FGetter &Getter, const ObjectType &InitialValue)
 
 TSlateAttributeBase (SWidget &Widget, const FGetter &Getter, ObjectType &&InitialValue)
 
 TSlateAttributeBase (SWidget &Widget, FGetter &&Getter, const ObjectType &InitialValue)
 
 TSlateAttributeBase (SWidget &Widget, FGetter &&Getter, ObjectType &&InitialValue)
 
 TSlateAttributeBase (SWidget &Widget, const TAttribute< ObjectType > &Attribute, const ObjectType &InitialValue)
 
 TSlateAttributeBase (SWidget &Widget, TAttribute< ObjectType > &&Attribute, ObjectType &&InitialValue)
 
const ObjectTypeGet () const
 
void UpdateNow (SWidget &Widget)
 
bool Set (SWidget &Widget, const ObjectType &NewValue)
 
bool Set (SWidget &Widget, ObjectType &&NewValue)
 
void Bind (SWidget &Widget, const FGetter &Getter)
 
void Bind (SWidget &Widget, FGetter &&Getter)
 
void Bind (WidgetType &Widget, typename FGetter::template TConstMethodPtr< WidgetType > MethodPtr)
 
bool Assign (SWidget &Widget, const TAttribute< ObjectType > &OtherAttribute, ESlateAttributeBindAction Actions=UE_SLATE_WITH_ATTRIBUTE_DEFAULT_INITIALIZATION_ACTION)
 
bool Assign (SWidget &Widget, TAttribute< ObjectType > &&OtherAttribute, ESlateAttributeBindAction Actions=UE_SLATE_WITH_ATTRIBUTE_DEFAULT_INITIALIZATION_ACTION)
 
bool Assign (SWidget &Widget, const TAttribute< ObjectType > &OtherAttribute, const ObjectType &DefaultValue, ESlateAttributeBindAction Actions=UE_SLATE_WITH_ATTRIBUTE_DEFAULT_INITIALIZATION_ACTION)
 
bool Assign (SWidget &Widget, TAttribute< ObjectType > &&OtherAttribute, const ObjectType &DefaultValue, ESlateAttributeBindAction Actions=UE_SLATE_WITH_ATTRIBUTE_DEFAULT_INITIALIZATION_ACTION)
 
bool Assign (SWidget &Widget, const TAttribute< ObjectType > &OtherAttribute, ObjectType &&DefaultValue, ESlateAttributeBindAction Actions=UE_SLATE_WITH_ATTRIBUTE_DEFAULT_INITIALIZATION_ACTION)
 
bool Assign (SWidget &Widget, TAttribute< ObjectType > &&OtherAttribute, ObjectType &&DefaultValue, ESlateAttributeBindAction Actions=UE_SLATE_WITH_ATTRIBUTE_DEFAULT_INITIALIZATION_ACTION)
 
void Unbind (SWidget &Widget)
 
TAttribute< ObjectTypeToAttribute (const SWidget &Widget) const
 
bool IsBound (const SWidget &Widget) const
 
- Protected Member Functions inherited from SlateAttributePrivate::FSlateAttributeImpl
SLATECORE_API void ProtectedUnregisterAttribute (SWidget &Widget, ESlateAttributeType AttributeType) const
 
SLATECORE_API void ProtectedRegisterAttribute (SWidget &Widget, ESlateAttributeType AttributeType, TUniquePtr< ISlateAttributeGetter > &&Wrapper)
 
SLATECORE_API void ProtectedInvalidateWidget (SWidget &Widget, ESlateAttributeType AttributeType, EInvalidateWidgetReason InvalidationReason) const
 
SLATECORE_API bool ProtectedIsBound (const SWidget &Widget, ESlateAttributeType AttributeType) const
 
SLATECORE_API ISlateAttributeGetterProtectedFindGetter (const SWidget &Widget, ESlateAttributeType AttributeType) const
 
SLATECORE_API FDelegateHandle ProtectedFindGetterHandle (const SWidget &Widget, ESlateAttributeType AttributeType) const
 
SLATECORE_API void ProtectedUpdateNow (SWidget &Widget, ESlateAttributeType AttributeType)
 
SLATECORE_API bool ProtectedIsWidgetInDestructionPath (SWidget *Widget) const
 
SLATECORE_API bool ProtectedIsImplemented (const SWidget &Widget) const
 
SLATECORE_API void ProtectedMoveAttribute (SWidget &Widget, ESlateAttributeType AttributeType, const FSlateAttributeBase *Other)
 
SLATECORE_API void ProtectedUnregisterAttribute (ISlateAttributeContainer &Widget, ESlateAttributeType AttributeType) const
 
SLATECORE_API void ProtectedRegisterAttribute (ISlateAttributeContainer &Widget, ESlateAttributeType AttributeType, TUniquePtr< ISlateAttributeGetter > &&Wrapper)
 
SLATECORE_API void ProtectedInvalidateWidget (ISlateAttributeContainer &Widget, ESlateAttributeType AttributeType, EInvalidateWidgetReason InvalidationReason) const
 
SLATECORE_API bool ProtectedIsBound (const ISlateAttributeContainer &Widget, ESlateAttributeType AttributeType) const
 
SLATECORE_API ISlateAttributeGetterProtectedFindGetter (const ISlateAttributeContainer &Widget, ESlateAttributeType AttributeType) const
 
SLATECORE_API FDelegateHandle ProtectedFindGetterHandle (const ISlateAttributeContainer &Widget, ESlateAttributeType AttributeType) const
 
SLATECORE_API void ProtectedUpdateNow (ISlateAttributeContainer &Widget, ESlateAttributeType AttributeType)
 
- Static Protected Member Functions inherited from SlateAttributePrivate::TSlateAttributeBase< SWidget, InObjectType, InInvalidationReasonPredicate, InComparePredicate, ESlateAttributeType::Managed >
static EInvalidateWidgetReason GetInvalidationReason (const SWidget &Widget)
 
static EInvalidateWidgetReason GetInvalidationReason (const ISlateAttributeContainer &Container)
 
static bool IdenticalTo (const SWidget &Widget, const ObjectType &Lhs, const ObjectType &Rhs)
 
static bool IdenticalTo (const ISlateAttributeContainer &Container, const ObjectType &Lhs, const ObjectType &Rhs)
 
- Static Protected Member Functions inherited from FSlateAttributeBase
template<typename T >
static constexpr bool IsInvalidateWidgetReasonSupported (T Reason)
 
static constexpr bool IsInvalidateWidgetReasonSupported (EInvalidateWidgetReason Reason)
 
- Static Protected Attributes inherited from SlateAttributePrivate::TSlateAttributeBase< SWidget, InObjectType, InInvalidationReasonPredicate, InComparePredicate, ESlateAttributeType::Managed >
static const ESlateAttributeType AttributeType
 
static constexpr bool HasDefinedInvalidationReason
 

Member Typedef Documentation

◆ FGetter

◆ ObjectType

Constructor & Destructor Documentation

◆ TSlateManagedAttribute() [1/12]

◆ TSlateManagedAttribute() [2/12]

◆ ~TSlateManagedAttribute()

◆ TSlateManagedAttribute() [3/12]

◆ TSlateManagedAttribute() [4/12]

◆ TSlateManagedAttribute() [5/12]

◆ TSlateManagedAttribute() [6/12]

◆ TSlateManagedAttribute() [7/12]

◆ TSlateManagedAttribute() [8/12]

◆ TSlateManagedAttribute() [9/12]

◆ TSlateManagedAttribute() [10/12]

◆ TSlateManagedAttribute() [11/12]

◆ TSlateManagedAttribute() [12/12]

Member Function Documentation

◆ Assign() [1/6]

◆ Assign() [2/6]

◆ Assign() [3/6]

◆ Assign() [4/6]

◆ Assign() [5/6]

◆ Assign() [6/6]

◆ Bind() [1/2]

◆ Bind() [2/2]

◆ Get()

◆ GetInvalidationReason()

◆ IdenticalTo() [1/3]

◆ IdenticalTo() [2/3]

◆ IdenticalTo() [3/3]

◆ IsBound()

◆ operator=() [1/2]

◆ operator=() [2/2]

◆ Set() [1/2]

◆ Set() [2/2]

◆ Unbind()

◆ UpdateNow()


The documentation for this struct was generated from the following file: