|
Pol
Revision:cb584c9
|
#include <weakptr.h>
Inheritance diagram for weak_ptr_link< T >:Public Member Functions | |
| weak_ptr_link () | |
| void | clear_weakptr () |
| T * | get_weakptr () const |
| void | set_weakptr (T *ptr) |
Public Member Functions inherited from ref_counted | |
| unsigned int | add_ref () |
| unsigned int | count () const |
| unsigned int | release () |
Private Attributes | |
| std::atomic< T * > | _ptr |
Additional Inherited Members | |
Protected Member Functions inherited from ref_counted | |
| ref_counted () | |
| ~ref_counted ()=default | |
Protected Attributes inherited from ref_counted | |
| std::atomic< unsigned int > | _count |
| weak_ptr_link< T >::weak_ptr_link | ( | ) |
| void weak_ptr_link< T >::clear_weakptr | ( | ) |
Definition at line 78 of file weakptr.h.
References weak_ptr_link< T >::_ptr.
| T * weak_ptr_link< T >::get_weakptr | ( | ) | const |
Definition at line 83 of file weakptr.h.
References weak_ptr_link< T >::_ptr.
| void weak_ptr_link< T >::set_weakptr | ( | T * | ptr | ) |
Definition at line 88 of file weakptr.h.
References weak_ptr_link< T >::_ptr.
|
private |
Definition at line 42 of file weakptr.h.
Referenced by weak_ptr_link< T >::clear_weakptr(), weak_ptr_link< T >::get_weakptr(), and weak_ptr_link< T >::set_weakptr().