|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLMISC::CPoolMemory Class Template ReferencePool memory allocation.
More...
#include <pool_memory.h>
List of all members.
Detailed Description
template<class T>
class NLMISC::CPoolMemory< T >
Pool memory allocation.
This memory manager allocates bloc of elements and free all the elements at the same time. Useful for temporary allocation.
-
Author:
-
Cyril 'Hulud' Corvazier , Nevrax France
-
Date:
-
2001
Definition at line 49 of file pool_memory.h.
Constructor & Destructor Documentation
template<class T> |
NLMISC::CPoolMemory< T >::CPoolMemory |
( |
uint |
blockSize = 10 |
) |
[inline] |
|
Member Function Documentation
template<class T> |
T* NLMISC::CPoolMemory< T >::allocate |
( |
|
) |
[inline] |
|
template<class T> |
void NLMISC::CPoolMemory< T >::free |
( |
|
) |
[inline] |
|
template<class T> |
void NLMISC::CPoolMemory< T >::purge |
( |
|
) |
[inline] |
|
Member Data Documentation
template<class T> |
std::list< std::vector<T> > NLMISC::CPoolMemory::_BlockList [private]
|
|
template<class T> |
std::list< std::vector<T> >::iterator NLMISC::CPoolMemory::_BlockPointer [private]
|
|
template<class T> |
uint NLMISC::CPoolMemory::_BlockSize [private]
|
|
The documentation for this class was generated from the following file:
|
|