#include <b2StackAllocator.h>
Public Member Functions | |
void * | Allocate (int32 size) |
b2StackAllocator () | |
void | Free (void *p) |
int32 | GetMaxAllocation () const |
~b2StackAllocator () | |
Private Attributes | |
int32 | m_allocation |
char | m_data [b2_stackSize] |
b2StackEntry | m_entries [b2_maxStackEntries] |
int32 | m_entryCount |
int32 | m_index |
int32 | m_maxAllocation |
Definition at line 37 of file b2StackAllocator.h.
b2StackAllocator::b2StackAllocator | ( | ) |
Definition at line 22 of file b2StackAllocator.cpp.
b2StackAllocator::~b2StackAllocator | ( | ) |
Definition at line 30 of file b2StackAllocator.cpp.
Definition at line 36 of file b2StackAllocator.cpp.
Definition at line 61 of file b2StackAllocator.cpp.
int32 b2StackAllocator::GetMaxAllocation | ( | ) | const |
Definition at line 80 of file b2StackAllocator.cpp.
|
private |
Definition at line 53 of file b2StackAllocator.h.
|
private |
Definition at line 50 of file b2StackAllocator.h.
|
private |
Definition at line 56 of file b2StackAllocator.h.
|
private |
Definition at line 57 of file b2StackAllocator.h.
|
private |
Definition at line 51 of file b2StackAllocator.h.
|
private |
Definition at line 54 of file b2StackAllocator.h.