Lines Matching refs:TObj
188 template <typename TObj, typename TLockObject = DefaultLockObject>
201 …/* ctor */ explicit SharedPtr(TObj* pObj, nw::os::IAllocator* pAllocator = NULL, SharedPtrCount<TL…
242 /* ctor */ /* implicit */ SharedPtr<TObj, TLockObject>(const SharedPtr<Y, TLockObject>& other)
258 /* ctor */ explicit SharedPtr(const WeakPtr<TObj, TLockObject>& other) in SharedPtr() argument
285 m_pObj->~TObj(); in ~SharedPtr()
322 SharedPtr<TObj, TLockObject>& operator = (const SharedPtr<U, TLockObject>& other)
337 …SharedPtr& Reset(TObj* pObj = NULL, nw::os::IAllocator* pAllocator = NULL, SharedPtrCount<…
348 TObj* Get() const { return m_pObj; } in Get()
355 TObj& operator * () const { NW_NULL_ASSERT( m_pObj ); return *m_pObj; }
362 TObj* operator -> () const { NW_NULL_ASSERT( m_pObj ); return m_pObj; }
397 TObj* m_pObj;
446 template <typename TObj, typename TLockObject>
463 /* ctor */ /* implicit */ WeakPtr<TObj, TLockObject>(const SharedPtr<U, TLockObject>& other)
496 /* ctor */ /* implicit */ WeakPtr<TObj, TLockObject>(const WeakPtr<U, TLockObject>& other)
526 SharedPtr<TObj, TLockObject> Lock() const in Lock()
528 return SharedPtr<TObj, TLockObject>(*this); in Lock()
591 TObj* m_pObj;