Falcon::DetMemPool Class Reference

Deterministic Memory Pool. More...

#include <detmempool.h>

Inheritance diagram for Falcon::DetMemPool:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 DetMemPool ()
virtual bool performGC (bool bForceReclaim=false)


Detailed Description

Deterministic Memory Pool.

This class works exactly as a basic memory pool, with the exception that if a garbage collection loop does not terminate by a certain time, the loop is interrupted.

This may result in none of the garbage to be reclaimed; so the applications usign this memory pool must at times disable the collection timeout, or set it to a sufficently wide interval, so that a full collection may take place. However, the application stays in control of the garbage collection process.

Sophisticated applications may derive this class to provide automatic timing strategies that would turn temporarily off the timeout when allocated memory becomes too huge.


Constructor & Destructor Documentation

Falcon::DetMemPool::DetMemPool (  )  [inline]


Member Function Documentation

virtual bool Falcon::DetMemPool::performGC ( bool  bForceReclaim = false  )  [virtual]


The documentation for this class was generated from the following file:

Generated on Mon Oct 19 10:11:34 2009 for Falcon_Core by  doxygen 1.5.8