|
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 |
References buffer, firstFreeIndex, nextFreeIndexList, noOfBuffers, noOfOccupiedSlots, and noOfRealsPerBuffer.
|
inline |
References buffer, and nextFreeIndexList.
|
inline |
References buffer, firstFreeIndex, nextFreeIndexList, noOfOccupiedSlots, and noOfRealsPerBuffer.
Referenced by mat::AllocatorManager< Treal >::alloc().
|
inline |
References buffer, firstFreeIndex, nextFreeIndexList, noOfBuffers, noOfOccupiedSlots, and noOfRealsPerBuffer.
|
inline |
References noOfOccupiedSlots.
|
inline |
References noOfOccupiedSlots.
|
inline |
References noOfBuffers, and noOfOccupiedSlots.
|
inline |
References buffer, noOfBuffers, and noOfRealsPerBuffer.
|
private |
Referenced by alloc(), Allocator(), free(), ownsPtr(), and ~Allocator().
|
private |
Referenced by alloc(), Allocator(), and free().
|
private |
Referenced by alloc(), Allocator(), free(), and ~Allocator().
|
private |
Referenced by Allocator(), free(), isFull(), and ownsPtr().
|
private |
Referenced by alloc(), Allocator(), free(), getNoOfOccupiedSlots(), isEmpty(), and isFull().
|
private |
Referenced by alloc(), Allocator(), free(), and ownsPtr().