Inheritance diagram for osg::ref_ptr< T >:

Public Types | |
| typedef T | element_type |
Public Member Functions | |
| ref_ptr () | |
| ref_ptr (T *t) | |
| ref_ptr (const ref_ptr &rp) | |
| ~ref_ptr () | |
| ref_ptr & | operator= (const ref_ptr &rp) |
| ref_ptr & | operator= (T *ptr) |
| bool | operator== (const ref_ptr &rp) const |
| bool | operator!= (const ref_ptr &rp) const |
| bool | operator< (const ref_ptr &rp) const |
| bool | operator> (const ref_ptr &rp) const |
| bool | operator== (const T *ptr) const |
| bool | operator!= (const T *ptr) const |
| bool | operator< (const T *ptr) const |
| bool | operator> (const T *ptr) const |
| T & | operator * () |
| const T & | operator * () const |
| T * | operator-> () |
| const T * | operator-> () const |
| bool | operator! () const |
| bool | valid () const |
| T * | get () |
| const T * | get () const |
| T * | take () |
| take control over the object pointed to by ref_ptr, unreference but do not delete even if ref count goes to 0, return the pointer to the object. | |
| T * | release () |
|
|||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
take control over the object pointed to by ref_ptr, unreference but do not delete even if ref count goes to 0, return the pointer to the object. Note, do not use this unless you are 100% sure your code handles the deletion of the object correctly, and only use when absolutely required. |
|
|||||||||
|
|