ARB
Classes | Macros | Variables
PT_mem.h File Reference
#include <arbtools.h>
#include <arb_core.h>
#include "PT_tools.h"
#include <arb_misc.h>
Include dependency graph for PT_mem.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MemBlock
 
class  MemBlockManager
 
class  Memory
 

Macros

#define PTM_MANAGED_MEMORY
 
#define PTM_MIN_SIZE   (int(sizeof(PT_PNTR))+1)
 
#define PTM_TABLE_SIZE   (1024*256)
 
#define PTM_TABLE_COUNT   256
 
#define PTM_ELEMS_PER_BLOCK   256
 
#define PTM_MAX_SIZE   (PTM_TABLE_COUNT+PTM_MIN_SIZE-1)
 
#define PTM_magic   0xf4
 

Variables

Memory MEM
 

Macro Definition Documentation

#define PTM_MANAGED_MEMORY

Definition at line 28 of file PT_mem.h.

#define PTM_MIN_SIZE   (int(sizeof(PT_PNTR))+1)
#define PTM_TABLE_SIZE   (1024*256)

Definition at line 39 of file PT_mem.h.

#define PTM_TABLE_COUNT   256
#define PTM_ELEMS_PER_BLOCK   256

Definition at line 42 of file PT_mem.h.

#define PTM_MAX_SIZE   (PTM_TABLE_COUNT+PTM_MIN_SIZE-1)

Definition at line 44 of file PT_mem.h.

Referenced by Memory::get(), and Memory::put().

#define PTM_magic   0xf4

Definition at line 46 of file PT_mem.h.

Referenced by Memory::put().

Variable Documentation

Memory MEM