Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Examples  

vpr::MemPool Class Reference

Shared memory pool. More...

#include <MemPool.h>

Inheritance diagram for vpr::MemPool:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual ~MemPool ()
virtual void * allocate (size_t size)=0
virtual void deallocate (void *ptr)=0
virtual void * reallocate (void *ptr, size_t new_sz)=0

Detailed Description

Shared memory pool.

Base class that defines how all memory pools should behave.

Date:
1-9-97

Definition at line 58 of file MemPool.h.


Constructor & Destructor Documentation

virtual vpr::MemPool::~MemPool   [inline, virtual]
 

Definition at line 65 of file MemPool.h.

00066    {
00067       ;
00068    }


Member Function Documentation

virtual void* vpr::MemPool::allocate size_t    size [pure virtual]
 

Implemented in vpr::MemPoolSGI.

virtual void vpr::MemPool::deallocate void *    ptr [pure virtual]
 

Implemented in vpr::MemPoolSGI.

virtual void* vpr::MemPool::reallocate void *    ptr,
size_t    new_sz
[pure virtual]
 

Implemented in vpr::MemPoolSGI.


The documentation for this class was generated from the following file:
Generated on Sun May 2 14:47:08 2004 for VR Juggler Portable Runtime by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002