clanCore System


Classes

class  CL_AutoPtr< Type >
 CL_AutoPtr. More...
class  CL_BlockAllocator
 Memory allocator that allocates in blocks. More...
class  CL_BlockAllocated
 Class with operator new/delete overloads for CL_BlockAllocator. More...
class  CL_CommandLine
 Helper class to parse command line arguments. More...
class  CL_ConsoleWindow
 Text console window. More...
class  CL_DataBuffer
 General purpose data buffer. More...
class  CL_DateTime
 Date/Time class. More...
class  CL_Event
 OS level event. More...
class  CL_EventProvider
 OS level event provider. More...
class  CL_Exception
 Top-level exception class. More...
class  CL_FixedMemoryPool< s >
 Memory pool using a fixed memory size. More...
class  CL_InterlockedVariable
 Interlocked variable class. More...
class  CL_MemoryPool
 Memory allocation interface. More...
class  CL_MemoryPoolAllocator< _Type >
 STL allocator using CL_MemoryPool. More...
class  CL_Mutex
 Mutex class. More...
class  CL_MutexSection
 Mutex locking helper. More...
class  CL_Runnable
 Thread runnable object. More...
class  CL_RunnableMember_v0< C >
class  CL_RunnableMember_v1< C, P1 >
class  CL_RunnableMember_v2< C, P1, P2 >
class  CL_RunnableMember_v3< C, P1, P2, P3 >
class  CL_RunnableMember_v4< C, P1, P2, P3, P4 >
class  CL_RunnableMember_v5< C, P1, P2, P3, P4, P5 >
class  CL_Service
 Service/daemon class. More...
class  CL_SetupCore
 Library initializer class. More...
class  CL_SharedPtr_Impl
class  CL_SharedPtr_Deleter< Type >
class  CL_SharedPtr_DeleterPool< Type >
class  CL_SharedPtr_DeleterCallback< Type >
class  CL_SharedPtr_DeleterClassCallback< Type, FreeClass >
class  CL_SharedPtr_Link
class  CL_UnknownSharedPtr
 CL_UnknownSharedPtr. More...
class  CL_SharedPtr< Type >
 CL_SharedPtr. More...
class  CL_StaticMemoryPool
 Static memory pool. More...
struct  CL_PreallocatedMemory
class  CL_System
 General system helper functions. More...
class  CL_Thread
 Thread class. More...
class  CL_ThreadLocalStorage
 Thread class. More...
class  CL_WeakPtr< Type >
 Weak pointer class (pointer to a CL_SharedPtr object that dont increase reference count). More...

Defines

#define cl_new   new
 Memory pool new.
#define CL_DELETER_SIZE   (sizeof(CL_SharedPtr_DeleterClassCallback<int,CL_MemoryPool>))

Functions

template<typename Container>
void cl_delete_container (Container &container)
void * operator new (size_t size, CL_MemoryPool *pool)
 Memory pool operator new.
void operator delete (void *data, CL_MemoryPool *pool)
 Memory pool operator delete.
void * operator new[] (size_t size, CL_MemoryPool *pool)
 Memory pool operator new[].
void operator delete[] (void *data, CL_MemoryPool *pool)
 Memory pool operator delete[].
template<typename Type>
void cl_delete (CL_MemoryPool *pool, Type *obj)
 Memory pool delete.
template<typename Type>
void cl_delete (CL_MemoryPool *pool, Type *obj, size_t array_size)
 Memory pool delete.

Define Documentation

#define CL_DELETER_SIZE   (sizeof(CL_SharedPtr_DeleterClassCallback<int,CL_MemoryPool>))
 

#define cl_new   new
 

Memory pool new.


Function Documentation

template<typename Type>
void cl_delete CL_MemoryPool pool,
Type *  obj,
size_t  array_size
 

Memory pool delete.

Parameters:
pool = Memory pool interface to use. If NULL, object is deleted using operator delete[](obj)
obj = Objects to free. The destructor is called
array_size = Number of objects in the array (Used to call the destructors. The entire array is always deleted even if array_size is short)

template<typename Type>
void cl_delete CL_MemoryPool pool,
Type *  obj
 

Memory pool delete.

Parameters:
pool = Memory pool interface to use. If NULL, object is deleted using operator delete(obj)
obj = Object to free. The destructor is called

template<typename Container>
void cl_delete_container Container &  container  ) 
 

void operator delete void *  data,
CL_MemoryPool pool
[inline]
 

Memory pool operator delete.

Parameters:
data = Data to free. (The destructor is not called, see cl_delete(CL_MemoryPool *pool, Type *obj) )
pool = Memory pool interface to use. If NULL, use "::operator delete(data)"

void operator delete[] void *  data,
CL_MemoryPool pool
[inline]
 

Memory pool operator delete[].

Parameters:
data = Data to free. (The destructor is not called, see cl_delete(CL_MemoryPool *pool, Type *obj, size_t array_size) )
pool = Memory pool interface to use. If NULL, use "::operator delete[](data)"

void* operator new size_t  size,
CL_MemoryPool pool
[inline]
 

Memory pool operator new.

Parameters:
size = Size to allocate
pool = Memory pool interface to use. If NULL = use "::operator new(size)"

void* operator new[] size_t  size,
CL_MemoryPool pool
[inline]
 

Memory pool operator new[].

Parameters:
size = Size to allocate
pool = Memory pool interface to use. If NULL = use "::operator new(size)"


Generated on Thu Dec 3 02:39:43 2009 for ClanLib by  doxygen 1.4.6