Allocate.h File Reference

#include "DataType.h"
#include "Exports.h"
#include "SingleLo.h"

Include dependency graph for Allocate.h:

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

Go to the source code of this file.

Classes

class  MemChunk
class  MemHeader
class  HashPool
class  SimpleChunk
class  SimplePool

Defines

#define __ALLOCATE_H
#define HASHNEW   new
#define BLOCKSIZE   0x008000
#define USEDSIZE   (BLOCKSIZE/sizeof(Patch))
#define NUMMEMHEADERS   100

Enumerations

enum  PoolType {
  POOL_EXT, POOL_PATCH, POOL_PARTICLE, POOL_BITMAP,
  POOL_SEG, POOL_ACT, POOL_CHOR, POOL_ATT,
  POOL_TEST, POOL_SHADOW, POOL_RADIOSITY, POOL_STRING,
  POOL_GASSIST, POOL_LBUFF
}

Functions

FILEIOEXPORT void * AllocAct (size_t)
FILEIOEXPORT void * AllocChor (size_t)
FILEIOEXPORT void * AllocAtt (size_t)
FILEIOEXPORT void * AllocSeg (size_t)
FILEIOEXPORT void * AllocExt (size_t)
FILEIOEXPORT void * AllocBitmap (size_t)
FILEIOEXPORT void * AllocParticle (size_t)
FILEIOEXPORT void * AllocPatch (size_t)
FILEIOEXPORT void * AllocLBuff (size_t)
FILEIOEXPORT void * AllocTest (size_t)
FILEIOEXPORT void * AllocShadow (size_t)
FILEIOEXPORT void * AllocString (size_t)
FILEIOEXPORT void * AllocRadiosity (size_t)
FILEIOEXPORT void * AllocGAssist (size_t)
FILEIOEXPORT void FreeAct (void *)
FILEIOEXPORT void FreeChor (void *)
FILEIOEXPORT void FreeAtt (void *)
FILEIOEXPORT void FreeSeg (void *)
FILEIOEXPORT void FreeExt (void *)
FILEIOEXPORT void FreeBitmap (void *)
FILEIOEXPORT void FreeParticle (void *)
FILEIOEXPORT void FreePatch (void *)
FILEIOEXPORT void FreeLBuff (void *)
FILEIOEXPORT void FreeTest (void *)
FILEIOEXPORT void FreeShadow (void *)
FILEIOEXPORT void FreeString (void *)
FILEIOEXPORT void FreeRadiosity (void *)
FILEIOEXPORT void FreeGAssist (void *)
FILEIOEXPORT void * AllocZ (size_t)
FILEIOEXPORT void * AllocSubPatch (size_t)
FILEIOEXPORT void FreeSubPatchMemory ()
FILEIOEXPORT void FreeZBufferMemory ()
FILEIOEXPORT void FreePatchMemory ()
FILEIOEXPORT void FreeLBuffMemory ()
FILEIOEXPORT void FreeRadiosityMemory ()
FILEIOEXPORT void FreeAllPools ()
void FreePartialHSP (void)
VectorGetPtr (size_t)
FILEIOEXPORT void * PlatformAlloc (size_t size)
FILEIOEXPORT void PlatformFree (void *ptr)
size_t PlatformSize (UBYTE *ptr)
FILEIOEXPORT size_t TotalRAM ()
FILEIOEXPORT BOOL IsMemoryAvailable ()
FILEIOEXPORT void SetMemoryLimitBytes (size_t sizein_b)
FILEIOEXPORT size_t GetMemoryLimitBytes ()
FILEIOEXPORT HashPoolGetActPool ()
FILEIOEXPORT HashPoolGetChorPool ()


Define Documentation

#define __ALLOCATE_H
 

Definition at line 3 of file Allocate.h.

#define BLOCKSIZE   0x008000
 

Definition at line 32 of file Allocate.h.

#define HASHNEW   new
 

Definition at line 26 of file Allocate.h.

#define NUMMEMHEADERS   100
 

Definition at line 35 of file Allocate.h.

#define USEDSIZE   (BLOCKSIZE/sizeof(Patch))
 

Definition at line 34 of file Allocate.h.


Enumeration Type Documentation

enum PoolType
 

Enumerator:
POOL_EXT 
POOL_PATCH 
POOL_PARTICLE 
POOL_BITMAP 
POOL_SEG 
POOL_ACT 
POOL_CHOR 
POOL_ATT 
POOL_TEST 
POOL_SHADOW 
POOL_RADIOSITY 
POOL_STRING 
POOL_GASSIST 
POOL_LBUFF 

Definition at line 37 of file Allocate.h.


Function Documentation

FILEIOEXPORT void* AllocAct size_t   ) 
 

Referenced by String::operator new().

FILEIOEXPORT void* AllocAtt size_t   ) 
 

Referenced by RObject::operator new().

FILEIOEXPORT void* AllocBitmap size_t   ) 
 

Referenced by YAHalf::operator new(), RGBAHalf::operator new(), RGBHalf::operator new(), YAFloat::operator new(), RGBAFloat::operator new(), RGBFloat::operator new(), YAByte::operator new(), RGBAByte::operator new(), and RGBByte::operator new().

FILEIOEXPORT void* AllocChor size_t   ) 
 

FILEIOEXPORT void* AllocExt size_t   ) 
 

Referenced by DataValue::AllocateData(), HashArray< TYPE, ARG_TYPE >::FreeExtra(), Registration::operator new(), HashStream::operator new(), CPXFileDialog::operator new(), and HashArray< TYPE, ARG_TYPE >::SetSize().

FILEIOEXPORT void* AllocGAssist size_t   ) 
 

FILEIOEXPORT void* AllocLBuff size_t   ) 
 

FILEIOEXPORT void* AllocParticle size_t   ) 
 

FILEIOEXPORT void* AllocPatch size_t   ) 
 

FILEIOEXPORT void* AllocRadiosity size_t   ) 
 

FILEIOEXPORT void* AllocSeg size_t   ) 
 

FILEIOEXPORT void* AllocShadow size_t   ) 
 

FILEIOEXPORT void* AllocString size_t   ) 
 

FILEIOEXPORT void* AllocSubPatch size_t   ) 
 

FILEIOEXPORT void* AllocTest size_t   ) 
 

FILEIOEXPORT void* AllocZ size_t   ) 
 

FILEIOEXPORT void FreeAct void *   ) 
 

Referenced by String::operator delete().

FILEIOEXPORT void FreeAllPools  ) 
 

FILEIOEXPORT void FreeAtt void *   ) 
 

Referenced by RObject::operator delete().

FILEIOEXPORT void FreeBitmap void *   ) 
 

Referenced by YAHalf::operator delete(), RGBAHalf::operator delete(), RGBHalf::operator delete(), YAFloat::operator delete(), RGBAFloat::operator delete(), RGBFloat::operator delete(), YAByte::operator delete(), RGBAByte::operator delete(), and RGBByte::operator delete().

FILEIOEXPORT void FreeChor void *   ) 
 

FILEIOEXPORT void FreeExt void *   ) 
 

Referenced by DataValue::AllocateData(), DataValue::FreeData(), HashArray< TYPE, ARG_TYPE >::FreeExtra(), Registration::operator delete(), HashStream::operator delete(), CPXFileDialog::operator delete(), HashArray< TYPE, ARG_TYPE >::SetSize(), and HashArray< TYPE, ARG_TYPE >::~HashArray().

FILEIOEXPORT void FreeGAssist void *   ) 
 

FILEIOEXPORT void FreeLBuff void *   ) 
 

FILEIOEXPORT void FreeLBuffMemory  ) 
 

void FreePartialHSP void   ) 
 

FILEIOEXPORT void FreeParticle void *   ) 
 

FILEIOEXPORT void FreePatch void *   ) 
 

FILEIOEXPORT void FreePatchMemory  ) 
 

FILEIOEXPORT void FreeRadiosity void *   ) 
 

FILEIOEXPORT void FreeRadiosityMemory  ) 
 

FILEIOEXPORT void FreeSeg void *   ) 
 

FILEIOEXPORT void FreeShadow void *   ) 
 

FILEIOEXPORT void FreeString void *   ) 
 

FILEIOEXPORT void FreeSubPatchMemory  ) 
 

FILEIOEXPORT void FreeTest void *   ) 
 

FILEIOEXPORT void FreeZBufferMemory  ) 
 

FILEIOEXPORT HashPool* GetActPool  ) 
 

FILEIOEXPORT HashPool* GetChorPool  ) 
 

FILEIOEXPORT size_t GetMemoryLimitBytes  ) 
 

Vector* GetPtr size_t   ) 
 

FILEIOEXPORT BOOL IsMemoryAvailable  ) 
 

FILEIOEXPORT void* PlatformAlloc size_t  size  ) 
 

FILEIOEXPORT void PlatformFree void *  ptr  ) 
 

size_t PlatformSize UBYTE ptr  ) 
 

FILEIOEXPORT void SetMemoryLimitBytes size_t  sizein_b  ) 
 

FILEIOEXPORT size_t TotalRAM  ) 
 


This A:M SDK v12.0 documentation is maintained by Hash Inc. Please address any comments concerning this documentation to AMReports. If you have any information, knowledge, or documentation to share with the A:M developer community, please post them on the Hash SDK forum.

Generated on Thu Oct 27 11:46:46 2005 with doxygen 1.4.5 written by Dimitri van Heesch, © 1997-2001