UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TSlotBase< SlotType > Class Template Reference

#include <SlotBase.h>

+ Inheritance diagram for TSlotBase< SlotType >:

Classes

struct  FSlotArguments
 

Public Types

enum  EConstructSlotIsFChildren { ConstructSlotIsFChildren }
 

Public Member Functions

SlotType & operator[] (TSharedRef< SWidget > &&InChildWidget)
 
SlotType & operator[] (const TSharedRef< SWidget > &InChildWidget)
 
SlotType & Expose (SlotType *&OutVarToInit)
 
void Construct (const FChildren &SlotOwner, FSlotArguments &&InArgs)
 
SLATECORE_API FSlotBase ()
 
SLATECORE_API FSlotBase (const FChildren &InParent)
 
SLATECORE_API FSlotBase (const TSharedRef< SWidget > &InWidget)
 
 FSlotBase (const FSlotBase &)=delete
 
- Public Member Functions inherited from FSlotBase
SLATECORE_API FSlotBase ()
 
SLATECORE_API FSlotBase (const FChildren &InParent)
 
SLATECORE_API FSlotBase (const TSharedRef< SWidget > &InWidget)
 
FSlotBaseoperator= (const FSlotBase &)=delete
 
 FSlotBase (const FSlotBase &)=delete
 
virtual SLATECORE_API ~FSlotBase ()
 
const FChildrenGetOwner () const
 
SLATECORE_API SWidgetGetOwnerWidget () const
 
SLATECORE_API void SetOwner (const FChildren &Children)
 
void AttachWidget (TSharedRef< SWidget > &&InWidget)
 
void AttachWidget (const TSharedRef< SWidget > &InWidget)
 
const TSharedRef< SWidget > & GetWidget () const
 
SLATECORE_API const TSharedPtr< SWidgetDetachWidget ()
 
SLATECORE_API void Invalidate (EInvalidateWidgetReason InvalidateReason)
 

Additional Inherited Members

- Protected Member Functions inherited from FSlotBase
template<typename TargetValueType , typename SourceValueType >
bool SetAttribute (TAttribute< TargetValueType > &TargetValue, const TAttribute< SourceValueType > &SourceValue, EInvalidateWidgetReason BaseInvalidationReason)
 

Detailed Description

template<typename SlotType>
class TSlotBase< SlotType >

A slot that can be used by the declarative syntax.

Member Enumeration Documentation

◆ EConstructSlotIsFChildren

Argument to indicate the Slot is also its owner.

Enumerator
ConstructSlotIsFChildren 

Member Function Documentation

◆ Construct()

template<typename SlotType >
void TSlotBase< SlotType >::Construct ( const FChildren SlotOwner,
FSlotArguments &&  InArgs 
)
inline

◆ Expose()

template<typename SlotType >
SlotType & TSlotBase< SlotType >::Expose ( SlotType *&  OutVarToInit)
inline

◆ FSlotBase() [1/4]

template<typename SlotType >
FSlotBase::FSlotBase ( )

◆ FSlotBase() [2/4]

template<typename SlotType >
FSlotBase::FSlotBase ( const FChildren InParent)

◆ FSlotBase() [3/4]

template<typename SlotType >
FSlotBase::FSlotBase ( const FSlotBase )
delete

◆ FSlotBase() [4/4]

template<typename SlotType >
FSlotBase::FSlotBase ( const TSharedRef< SWidget > &  InWidget)

◆ operator[]() [1/2]

template<typename SlotType >
SlotType & TSlotBase< SlotType >::operator[] ( const TSharedRef< SWidget > &  InChildWidget)
inline

◆ operator[]() [2/2]

template<typename SlotType >
SlotType & TSlotBase< SlotType >::operator[] ( TSharedRef< SWidget > &&  InChildWidget)
inline

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