FXMemoryPool.h File Reference


Detailed Description

Defines classes used to implement custom memory pools.

#include <new>

Include dependency graph for FXMemoryPool.h:

This graph shows which files directly or indirectly include this file:


Namespaces

namespace  FX

Classes

class  FX::FXMemoryPool
 A threadsafe custom memory pool. More...
struct  FX::FXMemoryPool::Statistics
 A structure containing statistics about the pool. More...
struct  FX::FXMemoryPool::MemoryPoolInfo
 Data reflecting a memory pool. More...
class  FX::FXMemPoolHold
 Changes the memory pool in use by the current thread for the duration of its existance. More...

Functions

template<typename T>
FXMALLOCATTR T * FX::malloc (size_t size, FXMemoryPool *heap=0) throw ()
template<typename T>
FXMALLOCATTR T * FX::calloc (size_t no, size_t size, FXMemoryPool *heap=0) throw ()
FXAPI FXMALLOCATTR void * FX::realloc (void *p, size_t size, FXMemoryPool *heap=0) throw ()
FXAPI void FX::free (void *p, FXMemoryPool *heap=0) throw ()
FXAPI void FX::failonfree (void *p, FXMemoryPool *heap=0) throw ()
FXAPI void FX::unfailonfree (void *p, FXMemoryPool *heap=0) throw ()
FXAPI FXMALLOCATTR void * tnfxmalloc (size_t size)
FXAPI FXMALLOCATTR void * tnfxcalloc (size_t no, size_t size)
FXAPI FXMALLOCATTR void * tnfxrealloc (void *p, size_t size)
FXAPI void tnfxfree (void *p)

(C) 2002-2008 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Jun 13 21:54:51 2008 for TnFOX by doxygen v1.5.6