CL_UnknownSharedPtr Class Reference
[clanCore System]

CL_UnknownSharedPtr. More...

#include <sharedptr.h>

Inheritance diagram for CL_UnknownSharedPtr:

CL_SharedPtr_Link List of all members.

Public Member Functions

 CL_UnknownSharedPtr ()
 CL_UnknownSharedPtr (const CL_SharedPtr_Link &link, void *ptr)
 CL_UnknownSharedPtr (const CL_UnknownSharedPtr &copy)
 ~CL_UnknownSharedPtr ()
CL_UnknownSharedPtroperator= (const CL_UnknownSharedPtr &copy)
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 &copy)
void set_weak_link ()
bool is_invalid_weak_link () const

Public Attributes

void * ptr
CL_Mutexmutex

Detailed Description

CL_UnknownSharedPtr.


Constructor & Destructor Documentation

CL_UnknownSharedPtr::CL_UnknownSharedPtr  )  [inline]
 

CL_UnknownSharedPtr::CL_UnknownSharedPtr const CL_SharedPtr_Link link,
void *  ptr
[inline]
 

CL_UnknownSharedPtr::CL_UnknownSharedPtr const CL_UnknownSharedPtr copy  )  [inline]
 

CL_UnknownSharedPtr::~CL_UnknownSharedPtr  )  [inline]
 


Member Function Documentation

void CL_SharedPtr_Link::call_deleter  )  [inline, inherited]
 

void CL_SharedPtr_Link::connect const CL_SharedPtr_Link copy  )  [inline, inherited]
 

template<typename Type, typename FreeClass>
void CL_SharedPtr_Link::create_deleter Type *  ptr,
FreeClass *  free_class,
void(FreeClass::*)(Type *ptr)  free_callback
[inline, inherited]
 

template<typename Type>
void CL_SharedPtr_Link::create_deleter Type *  ptr,
void(*)(Type *ptr)  free_callback
[inline, inherited]
 

template<typename Type>
void CL_SharedPtr_Link::create_deleter Type *  ptr,
CL_MemoryPool pool
[inline, inherited]
 

template<typename Type>
void CL_SharedPtr_Link::create_deleter Type *  instance  )  [inline, inherited]
 

bool CL_UnknownSharedPtr::disconnect  )  [inline]
 

Disconnect from linked list and unset the pointer.

If the list is empty or only contains weak links, then the pointer destructor is called

Returns:
true if the list is empty or only contains weak links (ie the pointer destructor was called)

Reimplemented from CL_SharedPtr_Link.

const void* CL_UnknownSharedPtr::get  )  const [inline]
 

Retrieves the pointer.

Returns:
The pointer (May be NULL, if it has not been set)

void* CL_UnknownSharedPtr::get  )  [inline]
 

Retrieves the pointer.

Returns:
The pointer (May be NULL, if it has not been set)

bool CL_SharedPtr_Link::is_invalid_weak_link  )  const [inline, inherited]
 

bool CL_UnknownSharedPtr::is_null  )  const [inline]
 

Tests if the pointer is unset.

Returns:
true, pointer not set

CL_UnknownSharedPtr::operator const void *  )  const [inline]
 

CL_UnknownSharedPtr::operator void *  )  [inline]
 

template<typename OtherType>
bool CL_UnknownSharedPtr::operator!= OtherType *  other  )  const [inline]
 

const void* CL_UnknownSharedPtr::operator->  )  const [inline]
 

void* CL_UnknownSharedPtr::operator->  )  [inline]
 

template<typename OtherType>
bool CL_UnknownSharedPtr::operator< OtherType *  other  )  const [inline]
 

template<typename OtherType>
bool CL_UnknownSharedPtr::operator<= OtherType *  other  )  const [inline]
 

CL_UnknownSharedPtr& CL_UnknownSharedPtr::operator= const CL_UnknownSharedPtr copy  )  [inline]
 

template<typename OtherType>
bool CL_UnknownSharedPtr::operator== OtherType *  other  )  const [inline]
 

template<typename OtherType>
bool CL_UnknownSharedPtr::operator> OtherType *  other  )  const [inline]
 

template<typename OtherType>
bool CL_UnknownSharedPtr::operator>= OtherType *  other  )  const [inline]
 

void CL_SharedPtr_Link::set_weak_link  )  [inline, inherited]
 


Member Data Documentation

CL_Mutex* CL_SharedPtr_Link::mutex [mutable, inherited]
 

void* CL_UnknownSharedPtr::ptr
 


The documentation for this class was generated from the following file:
Generated on Thu Dec 3 02:39:42 2009 for ClanLib by  doxygen 1.4.6