csPoly2DEdgesPool Class Reference
[Geometry utilities]
This is an object pool which holds objects of type csPoly2DEdges.
More...
#include <polyedge.h>
Public Methods | |
csPoly2DEdgesPool () | |
Create an empty pool. | |
~csPoly2DEdgesPool () | |
Destroy pool and all objects in the pool. | |
csPoly2DEdges * | Alloc () |
Allocate a new object in the pool. | |
void | Free (csPoly2DEdges *pol) |
Free an object and put it back in the pool. |
Detailed Description
This is an object pool which holds objects of type csPoly2DEdges.You can ask new instances from this pool. If needed it will allocate one for you but ideally it can give you one which was allocated earlier.
Definition at line 156 of file polyedge.h.
Constructor & Destructor Documentation
|
Create an empty pool.
Definition at line 171 of file polyedge.h. |
|
Destroy pool and all objects in the pool.
Definition at line 174 of file polyedge.h. |
Member Function Documentation
|
Allocate a new object in the pool.
Definition at line 196 of file polyedge.h. |
|
Free an object and put it back in the pool. Note that it is only legal to free objects which were allocated from the pool. Definition at line 219 of file polyedge.h. |
The documentation for this class was generated from the following file:
- csgeom/polyedge.h
Generated for Crystal Space by doxygen 1.2.18