Quark Physics  1.0
2D Rigid and Soft Body Physics Engine
QObjectPool< T > Class Template Reference
Collaboration diagram for QObjectPool< T >:

Classes

struct  Node
 

Public Member Functions

 QObjectPool (size_t initialSize, size_t expansionSize=0)
 
NodeCreate ()
 
void Free (int nodeID)
 
void FreeAll ()
 
void ClearAll ()
 

Public Attributes

Nodenodes
 
size_t size = 2
 
size_t sizeStep = 0
 
size_t freeSize = 2
 
size_t lastFreeNode = 0
 

The documentation for this class was generated from the following file: