UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FUObjectAnnotationSparseNoSync< TAnnotation > Class Template Reference
+ Inheritance diagram for FUObjectAnnotationSparseNoSync< TAnnotation >:

Public Member Functions

virtual void NotifyUObjectDeleted (const UObjectBase *Object, int32 Index) override
 
virtual void OnUObjectArrayShutdown () override
 
 FUObjectAnnotationSparseNoSync ()
 
virtual ~FUObjectAnnotationSparseNoSync ()
 
void AddAnnotation (const UObjectBase *Object, TAnnotation &&Annotation)
 
void AddAnnotation (const UObjectBase *Object, const TAnnotation &Annotation)
 
void RemoveAnnotation (const UObjectBase *Object)
 
void RemoveAllAnnotations ()
 
TAnnotation GetAnnotation (const UObjectBase *Object)
 
const TMap< const UObjectBase *, TAnnotation > & GetAnnotationMap () const
 
virtual SIZE_T GetAllocatedSize () const override
 
- Public Member Functions inherited from FUObjectArray::FUObjectDeleteListener
virtual ~FUObjectDeleteListener ()
 
virtual void NotifyUObjectDeleted (const class UObjectBase *Object, int32 Index)=0
 

Constructor & Destructor Documentation

◆ FUObjectAnnotationSparseNoSync()

◆ ~FUObjectAnnotationSparseNoSync()

Member Function Documentation

◆ AddAnnotation() [1/2]

template<typename TAnnotation >
void FUObjectAnnotationSparseNoSync< TAnnotation >::AddAnnotation ( const UObjectBase Object,
const TAnnotation Annotation 
)
inline

◆ AddAnnotation() [2/2]

template<typename TAnnotation >
void FUObjectAnnotationSparseNoSync< TAnnotation >::AddAnnotation ( const UObjectBase Object,
TAnnotation &&  Annotation 
)
inline

◆ GetAllocatedSize()

template<typename TAnnotation >
virtual SIZE_T FUObjectAnnotationSparseNoSync< TAnnotation >::GetAllocatedSize ( ) const
inlineoverridevirtual

Returns the size of heap memory allocated internally by this listener

Reimplemented from FUObjectArray::FUObjectDeleteListener.

◆ GetAnnotation()

template<typename TAnnotation >
TAnnotation FUObjectAnnotationSparseNoSync< TAnnotation >::GetAnnotation ( const UObjectBase Object)
inline

◆ GetAnnotationMap()

template<typename TAnnotation >
const TMap< const UObjectBase *, TAnnotation > & FUObjectAnnotationSparseNoSync< TAnnotation >::GetAnnotationMap ( ) const
inline

◆ NotifyUObjectDeleted()

template<typename TAnnotation >
virtual void FUObjectAnnotationSparseNoSync< TAnnotation >::NotifyUObjectDeleted ( const UObjectBase Object,
int32  Index 
)
inlineoverridevirtual

◆ OnUObjectArrayShutdown()

template<typename TAnnotation >
virtual void FUObjectAnnotationSparseNoSync< TAnnotation >::OnUObjectArrayShutdown ( )
inlineoverridevirtual

Called when UObject Array is being shut down, this is where all listeners should be removed from it

Implements FUObjectArray::FUObjectDeleteListener.

◆ RemoveAllAnnotations()

template<typename TAnnotation >
void FUObjectAnnotationSparseNoSync< TAnnotation >::RemoveAllAnnotations ( )
inline

◆ RemoveAnnotation()

template<typename TAnnotation >
void FUObjectAnnotationSparseNoSync< TAnnotation >::RemoveAnnotation ( const UObjectBase Object)
inline

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