继承自 TWeakObjectPtrBase .
|
| FORCEINLINE T * | Get () const |
| | Dereference the weak pointer. 更多...
|
| |
| FORCEINLINE T * | Get (bool bEvenIfPendingKill) const |
| | Dereference the weak pointer 更多...
|
| |
| FORCEINLINE T * | GetEvenIfUnreachable () const |
| | Deferences the weak pointer even if its marked RF_Unreachable. 更多...
|
| |
| FORCEINLINE bool | HasSameIndexAndSerialNumber (const TWeakObjectPtr &Other) const |
| | Returns true if two weak pointers were originally set to the same object, even if they are now stale 更多...
|
| |
| FORCEINLINE bool | IsExplicitlyNull () const |
| | Returns true if this pointer was explicitly assigned to null, was reset, or was never initialized. 更多...
|
| |
| FORCEINLINE bool | IsStale (bool bIncludingIfPendingKill=true, bool bThreadsafeTest=false) const |
| | Slightly different than !IsValid(), returns true if this used to point to a UObject, but doesn't any more and has not been assigned or reset in the mean time. 更多...
|
| |
| FORCEINLINE bool | IsValid () const |
| | Test if this points to a live UObject. 更多...
|
| |
| FORCEINLINE bool | IsValid (bool bEvenIfPendingKill, bool bThreadsafeTest=false) const |
| | Test if this points to a live UObject 更多...
|
| |
|
FORCEINLINE T & | operator* () const |
| | Dereference the weak pointer
|
| |
|
FORCEINLINE T * | operator-> () const |
| | Dereference the weak pointer
|
| |
| template<typename OtherT , typename = decltype(ImplicitConv<T*>((OtherT*)nullptr))> |
| FORCEINLINE TWeakObjectPtr & | operator= (const TWeakObjectPtr< OtherT, TWeakObjectPtrBase > &Other) |
| | Assign from another weak pointer, intended for derived-to-base conversions 更多...
|
| |
| template<class U > |
| FORCEINLINE TEnableIf<!TLosesQualifiersFromTo< U, T >::Value, TWeakObjectPtr & >::Type | operator= (U *Object) |
| | Copy from an object pointer 更多...
|
| |
|
FORCEINLINE void | Reset () |
| | Reset the weak pointer back to the null state
|
| |
| template<typename OtherT , typename = decltype(ImplicitConv<T*>((OtherT*)nullptr))> |
| FORCEINLINE | TWeakObjectPtr (const TWeakObjectPtr< OtherT, TWeakObjectPtrBase > &Other) |
| | Construct from another weak pointer of another type, intended for derived-to-base conversions 更多...
|
| |
|
FORCEINLINE | TWeakObjectPtr (TYPE_OF_NULLPTR) |
| | Construct from a null pointer
|
| |
| template<typename U , typename = decltype(ImplicitConv<T*>((U*)nullptr))> |
| FORCEINLINE | TWeakObjectPtr (U *Object) |
| | Construct from an object pointer 更多...
|
| |
template<class T, class TWeakObjectPtrBase>
struct TWeakObjectPtr< T, TWeakObjectPtrBase >
TWeakObjectPtr is the templated version of the generic FWeakObjectPtr
- 示例
- /github/workspace/Engine/Source/Runtime/UMG/Public/Components/Widget.h.