Main Page | Class Hierarchy | Class List | Directories | File List | Class Members

RNReplicaNet::PlatformHeap Class Reference

#include <PlatformHeap.h>

List of all members.

Static Public Member Functions

static void ForceFree (void)


Detailed Description

This class uses a list of PlatformHeapBlock classes to make sure that all blocks of memory are registered for destruction when PlatformHeap::ForceFree() is called. Each PlatformHeapBlock class is destructed in the reverse order they were added to the stack, it is a LIFO stack. This class can be used to make sure shutdown functions are called and pointers properly cleared.


Member Function Documentation

static void RNReplicaNet::PlatformHeap::ForceFree void   )  [static]
 

Deletes all heap blocks on the stack in reverse order. This should only be called when all threads accessing memory registered using this class are stopped.


The documentation for this class was generated from the following file:
Generated on Sun Oct 30 01:12:31 2005 for Platform by  doxygen 1.4.1