Home | History | Annotate | Download | only in decpp

Lines Matching defs:WeakPtr

64 	volatile deInt32	weakRefCount;		//!< WeakPtr references + StrongPtr references.
96 class WeakPtr;
122 explicit SharedPtr (const WeakPtr<Y>& other);
131 SharedPtr& operator= (const WeakPtr<Y>& other);
148 void acquireFromWeak (const WeakPtr<T>& other);
154 friend class WeakPtr<T>;
163 * WeakPtr manages weak references to objects owned by SharedPtr. Shared
168 * WeakPtr can be converted back to SharedPtr but that operation can fail
173 class WeakPtr
176 WeakPtr (void);
177 WeakPtr (const WeakPtr<T>& other);
179 explicit WeakPtr (const SharedPtr<T>& other);
180 ~WeakPtr (void);
182 WeakPtr& operator= (const WeakPtr<T>& other);
183 WeakPtr& operator= (const SharedPtr<T>& other);
310 inline SharedPtr<T>::SharedPtr (const WeakPtr<Y>& other)
383 * Tries to acquire reference to WeakPtr, releases current reference and
386 * If WeakPtr can't be acquired, throws DeadReferenceException and doesn't
389 * If WeakPtr references same pointer as SharedPtr this call will always
396 inline SharedPtr<T>& SharedPtr<T>::operator= (const WeakPtr<Y>& other)
475 inline void SharedPtr<T>::acquireFromWeak (const WeakPtr<T>& weakRef)
532 // WeakPtr template implementation.
538 inline WeakPtr<T>::WeakPtr (void)
549 inline WeakPtr<T>::WeakPtr (const WeakPtr<T>& other)
561 inline WeakPtr<T>::WeakPtr (const SharedPtr<T>& other)
569 inline WeakPtr<T>::~WeakPtr (void)
577 * \return Reference to this WeakPtr.
583 inline WeakPtr<T>& WeakPtr<T>::operator= (const WeakPtr<T>& other)
601 * \return Reference to this WeakPtr.
607 inline WeakPtr<T>& WeakPtr<T>::operator= (const SharedPtr<T>& other)
620 inline void WeakPtr<T>::acquire (void)
627 inline void WeakPtr<T>::release (void)