The btPoolAllocator class allows to efficiently allocate a large pool of objects, instead of dynamically allocating them separately.  
 More...
#include <btPoolAllocator.h>
The btPoolAllocator class allows to efficiently allocate a large pool of objects, instead of dynamically allocating them separately. 
Definition at line 23 of file btPoolAllocator.h.
◆ btPoolAllocator()
  
  | 
        
          | btPoolAllocator::btPoolAllocator | ( | int | elemSize, |  
          |  |  | int | maxElements |  
          |  | ) |  |  |  | inline | 
 
 
◆ ~btPoolAllocator()
  
  | 
        
          | btPoolAllocator::~btPoolAllocator | ( |  | ) |  |  | inline | 
 
 
◆ allocate()
  
  | 
        
          | void* btPoolAllocator::allocate | ( | int | size | ) |  |  | inline | 
 
 
◆ freeMemory()
  
  | 
        
          | void btPoolAllocator::freeMemory | ( | void * | ptr | ) |  |  | inline | 
 
 
◆ getElementSize()
  
  | 
        
          | int btPoolAllocator::getElementSize | ( |  | ) | const |  | inline | 
 
 
◆ getFreeCount()
  
  | 
        
          | int btPoolAllocator::getFreeCount | ( |  | ) | const |  | inline | 
 
 
◆ getMaxCount()
  
  | 
        
          | int btPoolAllocator::getMaxCount | ( |  | ) | const |  | inline | 
 
 
◆ getPoolAddress() [1/2]
  
  | 
        
          | unsigned char* btPoolAllocator::getPoolAddress | ( |  | ) |  |  | inline | 
 
 
◆ getPoolAddress() [2/2]
  
  | 
        
          | const unsigned char* btPoolAllocator::getPoolAddress | ( |  | ) | const |  | inline | 
 
 
◆ getUsedCount()
  
  | 
        
          | int btPoolAllocator::getUsedCount | ( |  | ) | const |  | inline | 
 
 
◆ validPtr()
  
  | 
        
          | bool btPoolAllocator::validPtr | ( | void * | ptr | ) |  |  | inline | 
 
 
◆ m_elemSize
  
  | 
        
          | int btPoolAllocator::m_elemSize |  | private | 
 
 
◆ m_firstFree
  
  | 
        
          | void* btPoolAllocator::m_firstFree |  | private | 
 
 
◆ m_freeCount
  
  | 
        
          | int btPoolAllocator::m_freeCount |  | private | 
 
 
◆ m_maxElements
  
  | 
        
          | int btPoolAllocator::m_maxElements |  | private | 
 
 
◆ m_mutex
◆ m_pool
  
  | 
        
          | unsigned char* btPoolAllocator::m_pool |  | private | 
 
 
The documentation for this class was generated from the following file: