Bullet Collision Detection & Physics Library
|
The StackAlloc class provides some fast stack-based memory allocator (LIFO last-in first-out) More...
#include <btStackAlloc.h>
Public Member Functions | |
btStackAlloc (unsigned int size) | |
~btStackAlloc () | |
void | create (unsigned int size) |
void | destroy () |
int | getAvailableMemory () const |
unsigned char * | allocate (unsigned int size) |
btBlock * | beginBlock () |
void | endBlock (btBlock *block) |
Private Member Functions | |
void | ctor () |
Private Attributes | |
unsigned char * | data |
unsigned int | totalsize |
unsigned int | usedsize |
btBlock * | current |
bool | ischild |
The StackAlloc class provides some fast stack-based memory allocator (LIFO last-in first-out)
Definition at line 34 of file btStackAlloc.h.
|
inline |
Definition at line 38 of file btStackAlloc.h.
|
inline |
Definition at line 39 of file btStackAlloc.h.
|
inline |
Definition at line 68 of file btStackAlloc.h.
|
inline |
Definition at line 81 of file btStackAlloc.h.
|
inline |
Definition at line 41 of file btStackAlloc.h.
|
inlineprivate |
Definition at line 101 of file btStackAlloc.h.
|
inline |
Definition at line 47 of file btStackAlloc.h.
|
inline |
Definition at line 89 of file btStackAlloc.h.
|
inline |
Definition at line 63 of file btStackAlloc.h.
|
private |
Definition at line 112 of file btStackAlloc.h.
|
private |
Definition at line 109 of file btStackAlloc.h.
|
private |
Definition at line 113 of file btStackAlloc.h.
|
private |
Definition at line 110 of file btStackAlloc.h.
|
private |
Definition at line 111 of file btStackAlloc.h.