#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.
Definition at line 22 of file b2StackAllocator.cpp.
Definition at line 30 of file b2StackAllocator.cpp.
void * b2StackAllocator::Allocate | ( | int32 | size | ) |
Definition at line 36 of file b2StackAllocator.cpp.
void b2StackAllocator::Free | ( | void * | p | ) |
Definition at line 61 of file b2StackAllocator.cpp.
int32 b2StackAllocator::GetMaxAllocation | ( | ) | const |
Definition at line 80 of file b2StackAllocator.cpp.
int32 b2StackAllocator::m_allocation [private] |
Definition at line 53 of file b2StackAllocator.h.
char b2StackAllocator::m_data[b2_stackSize] [private] |
Definition at line 50 of file b2StackAllocator.h.
Definition at line 56 of file b2StackAllocator.h.
int32 b2StackAllocator::m_entryCount [private] |
Definition at line 57 of file b2StackAllocator.h.
int32 b2StackAllocator::m_index [private] |
Definition at line 51 of file b2StackAllocator.h.
int32 b2StackAllocator::m_maxAllocation [private] |
Definition at line 54 of file b2StackAllocator.h.