#include <sharedptr.h>
Inheritance diagram for CL_UnknownSharedPtr:

Public Member Functions | |
| CL_UnknownSharedPtr () | |
| CL_UnknownSharedPtr (const CL_SharedPtr_Link &link, void *ptr) | |
| CL_UnknownSharedPtr (const CL_UnknownSharedPtr ©) | |
| ~CL_UnknownSharedPtr () | |
| CL_UnknownSharedPtr & | operator= (const CL_UnknownSharedPtr ©) |
| bool | disconnect () |
| Disconnect from linked list and unset the pointer. | |
| bool | is_null () const |
| Tests if the pointer is unset. | |
| void * | get () |
| Retrieves the pointer. | |
| const void * | get () const |
| Retrieves the pointer. | |
| operator void * () | |
| operator const void * () const | |
| void * | operator-> () |
| const void * | operator-> () const |
| template<typename OtherType> | |
| bool | operator== (OtherType *other) const |
| template<typename OtherType> | |
| bool | operator!= (OtherType *other) const |
| template<typename OtherType> | |
| bool | operator< (OtherType *other) const |
| template<typename OtherType> | |
| bool | operator<= (OtherType *other) const |
| template<typename OtherType> | |
| bool | operator> (OtherType *other) const |
| template<typename OtherType> | |
| bool | operator>= (OtherType *other) const |
| template<typename Type> | |
| void | create_deleter (Type *instance) |
| template<typename Type> | |
| void | create_deleter (Type *ptr, CL_MemoryPool *pool) |
| template<typename Type> | |
| void | create_deleter (Type *ptr, void(*free_callback)(Type *ptr)) |
| template<typename Type, typename FreeClass> | |
| void | create_deleter (Type *ptr, FreeClass *free_class, void(FreeClass::*free_callback)(Type *ptr)) |
| void | call_deleter () |
| void | connect (const CL_SharedPtr_Link ©) |
| void | set_weak_link () |
| bool | is_invalid_weak_link () const |
Public Attributes | |
| void * | ptr |
| CL_Mutex * | mutex |
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||
|
|
|
|
Disconnect from linked list and unset the pointer. If the list is empty or only contains weak links, then the pointer destructor is called
Reimplemented from CL_SharedPtr_Link. |
|
|
Retrieves the pointer.
|
|
|
Retrieves the pointer.
|
|
|
|
|
|
Tests if the pointer is unset.
|
|
|
|
|
|
|
|
||||||||||
|
|
|
|
|
|
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
|
|
|
|
|
|
|
|
1.4.6