#include <MemoryBlock.h>
Public Methods | |
| MemoryBlock () | |
| MemoryBlock (int elements, int element_size) | |
| ~MemoryBlock () | |
| void | cleanup () | 
| void | init (int elements, int element_size) | 
| int | getElementSize () | 
| int | getFreeElementCount () | 
| void * | getElement () | 
| void | releaseElement (void *block) | 
Protected Attributes | |
| int | elements | 
| int | element_size | 
| void * | pool | 
| void ** | free_stack | 
| int | free_position | 
Definition at line 46 of file MemoryBlock.h.
      
  | 
  
| 
 
 Definition at line 48 of file MemoryBlock.h. References element_size, elements, free_position, free_stack, and pool.  | 
  
      
  | 
  ||||||||||||
| 
 
 Definition at line 56 of file MemoryBlock.h. References element_size, elements, free_stack, init, and pool.  | 
  
      
  | 
  
| 
 
 Definition at line 62 of file MemoryBlock.h. References cleanup.  | 
  
      
  | 
  
| 
 
 Definition at line 66 of file MemoryBlock.h. References free_stack, and pool. Referenced by init, and ~MemoryBlock.  | 
  
      
  | 
  
| 
 
 Definition at line 93 of file MemoryBlock.h. References free_position, and free_stack.  | 
  
      
  | 
  
| 
 
 Definition at line 90 of file MemoryBlock.h. References element_size.  | 
  
      
  | 
  
| 
 
 Definition at line 91 of file MemoryBlock.h. References free_position.  | 
  
      
  | 
  ||||||||||||
| 
 
 Definition at line 78 of file MemoryBlock.h. References cleanup, element_size, elements, free_position, free_stack, and pool. Referenced by MemoryBlock.  | 
  
      
  | 
  
| 
 
 Definition at line 101 of file MemoryBlock.h. References free_position, and free_stack.  | 
  
      
  | 
  
| 
 
 Definition at line 107 of file MemoryBlock.h. Referenced by getElementSize, init, and MemoryBlock.  | 
  
      
  | 
  
| 
 
 Definition at line 106 of file MemoryBlock.h. Referenced by init, and MemoryBlock.  | 
  
      
  | 
  
| 
 
 Definition at line 110 of file MemoryBlock.h. Referenced by getElement, getFreeElementCount, init, MemoryBlock, and releaseElement.  | 
  
      
  | 
  
| 
 
 Definition at line 109 of file MemoryBlock.h. Referenced by cleanup, getElement, init, MemoryBlock, and releaseElement.  | 
  
      
  | 
  
| 
 
 Definition at line 108 of file MemoryBlock.h. Referenced by cleanup, init, and MemoryBlock.  |