ergo
|
#include <Allocator.h>
Public Member Functions | |
Allocator (int noOfRealsPerBuffer_, int noOfBuffers_) | |
~Allocator () | |
Treal * | alloc () |
void | free (Treal *ptr) |
bool | isFull () |
bool | isEmpty () |
bool | ownsPtr (Treal *ptr) |
int | getNoOfOccupiedSlots () |
Private Attributes | |
int | noOfRealsPerBuffer |
int | noOfBuffers |
Treal * | buffer |
int * | nextFreeIndexList |
int | firstFreeIndex |
int | noOfOccupiedSlots |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References mat::Allocator< Treal >::noOfOccupiedSlots.
|
inline |
References mat::Allocator< Treal >::noOfOccupiedSlots.
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |