#include <te_intrusive_ptr.h>
Public Types | |
typedef void(* | Tdestructor) (T *obj) |
Public Member Functions | |
TeIntrusivePtr (const TeIntrusivePtr< T > &other) | |
TeIntrusivePtr (T *obj) | |
TeIntrusivePtr< T > & | operator= (T *obj) |
TeIntrusivePtr< T > & | operator= (const TeIntrusivePtr< T > &other) |
void | release () |
bool | operator== (const TeIntrusivePtr< T > &other) const |
T * | get () |
const T * | get () const |
T & | operator* () |
const T & | operator* () const |
operator bool () const | |
T * | operator-> () |
const T * | operator-> () const |
void | setDeleteFn (Tdestructor destructor) |
Like the boost intrusive pointer. To be used with an object inheriting from TeReferencesCounter