|
| TObjectPtr (T *Instance=nullptr) |
|
| TObjectPtr (T &Object) |
|
| TObjectPtr (const T &Object) |
|
| TObjectPtr (const TObjectPtr< T > &Other) |
|
template<typename R > |
| TObjectPtr (const TObjectPtr< R > &Other) |
|
| TObjectPtr (TObjectPtr< T > &&Other) noexcept |
|
template<typename R > |
| TObjectPtr (TObjectPtr< R > &&Other) |
|
TObjectPtr & | operator= (std::nullptr_t) |
|
TObjectPtr & | operator= (const TObjectPtr< T > &Other) |
|
template<typename R > |
FORCEINLINE TObjectPtr & | operator= (const TObjectPtr< R > &Other) |
|
template<typename R > |
FORCEINLINE TObjectPtr & | operator= (TObjectPtr< R > &&Other) |
|
FORCEINLINE | operator bool () |
|
FORCEINLINE | operator bool () const |
|
FORCEINLINE bool | operator== (std::nullptr_t) const |
|
FORCEINLINE bool | operator== (const T *Other) const |
|
FORCEINLINE T * | operator-> () |
|
FORCEINLINE const T * | operator-> () const |
|
FORCEINLINE T & | operator* () |
|
FORCEINLINE const T & | operator* () const |
|
FORCEINLINE T * | Get () |
|
FORCEINLINE const T * | Get () const |
|
template<typename R > |
FORCEINLINE TObjectPtr< R > | As () const |
|
FORCEINLINE void | Reset (T *ObjectRef=nullptr) |
|
FORCEINLINE void | Release () |
|
FORCEINLINE bool | IsEqual (const TObjectPtr< T > &Other) const |
|
template<typename T>
class LkEngine::TObjectPtr< T >
Smart pointer for managing LObject's with reference counting and tracking. Provides automatic reference counting, basic type safety and the ability to track live object references for memory management. Supports initialization from raw pointers, other TObjectPtr instances and conversion between compatible types.