Lines Matching refs:WeakPtr
181 template <typename Obj, typename TLockObject = DefaultLockObject> class WeakPtr; variable
258 /* ctor */ explicit SharedPtr(const WeakPtr<TObj, TLockObject>& other) in SharedPtr()
402 template <typename U, typename ULockObject> friend class WeakPtr; variable
447 class WeakPtr
453 /* ctor */ WeakPtr() : m_pObj( NULL ), m_pCnt( NULL ), m_pAllocator( NULL ) in WeakPtr() function
463 /* ctor */ /* implicit */ WeakPtr<TObj, TLockObject>(const SharedPtr<U, TLockObject>& other)
479 /* ctor */ /* implicit */ WeakPtr(const WeakPtr& other) in WeakPtr() function
496 /* ctor */ /* implicit */ WeakPtr<TObj, TLockObject>(const WeakPtr<U, TLockObject>& other)
510 /* dtor */ ~WeakPtr() in ~WeakPtr()
536 WeakPtr& Reset() in Reset()
538 WeakPtr().SwapObjPtr(*this); in Reset()
548 WeakPtr& operator = (const SharedPtr<U, TLockObject>& rhs)
550 WeakPtr(rhs).SwapObjPtr(*this);
559 WeakPtr& operator = (const WeakPtr& other)
561 WeakPtr(other).SwapObjPtr(*this);
571 WeakPtr& operator = (const WeakPtr<U, TLockObject>& other)
573 WeakPtr(other).SwapObjPtr(*this);
584 void SwapObjPtr(WeakPtr& other) in SwapObjPtr()
596 template <typename U, typename ULockObject> friend class WeakPtr; variable