Quantum 3
3.0.11
Adds memory allocation tracking to the IFrameHeap. More...
Public Member Functions | |
| void * | Allocate< T > (int size, T allocTracker) |
| Allocates a block of memory of the specified size with an allocation tracker. More... | |
| void * | AllocateAndClear< T > (int size, T allocTracker) |
| Allocates a block of memory of the specified size and clears it with an allocation tracker. More... | |
| Ptr | AllocateAndClearPtr< T > (int size, T allocTracker) |
| Allocates a Ptr for a block of memory of the specified size and clears it with an allocation tracker. More... | |
| Ptr | AllocatePtr< T > (int size, T allocTracker) |
| Allocates a Ptr for a block of memory of the specified size with an allocation tracker. More... | |
| void * | Expand< T > (void *buffer, int currentSize, int newSize, T allocTracker) |
| Expands a memory block in the given buffer to the specified new size with an allocation tracker. More... | |
| T * | ExpandArray< T, TTracker > (T *buffer, int currentSize, int newSize, TTracker allocTracker) |
| Expands an array in the given buffer to the specified new size with an allocation tracker. More... | |
| void | Free< T > (Ptr ptr, T allocTracker) |
| Frees a Ptr for a block of memory with an allocation tracker. More... | |
| void | Free< T > (void *ptr, T allocTracker) |
| Frees a block of memory with an allocation tracker. More... | |
Public Member Functions inherited from Quantum.Allocator.IFrameHeap | |
| void * | Allocate (int size) |
| Allocates a block of memory of the specified size. More... | |
| void * | AllocateAndClear (int size) |
| Allocates a block of memory of the specified size and clears it. More... | |
| Ptr | AllocateAndClearPtr (int size) |
| Allocates a Ptr for a block of memory of the specified size and clears it. More... | |
| Ptr | AllocatePtr (int size) |
| Allocates a Ptr for a block of memory of the specified size. More... | |
| void * | Expand (void *buffer, int currentSize, int newSize) |
| Expands a memory block in the given buffer to the specified new size. More... | |
| T * | ExpandArray< T > (T *buffer, int currentSize, int newSize) |
| Expands an array in the given buffer to the specified new size. More... | |
| void | Free (Ptr ptr) |
| Frees a Ptr for a block of memory. More... | |
| void | Free (void *ptr) |
| Frees a block of memory. More... | |
| void * | Void (Ptr p) |
| Converts a Ptr to a void pointer. More... | |
| Ptr | Void (void *ptr) |
| Converts a pointer to a void pointer. More... | |
| TPtr * | Void< TPtr > (Ptr p) |
| Converts a Ptr to a typed pointer. More... | |
Adds memory allocation tracking to the IFrameHeap.
| void* Quantum.Allocator.ITrackableFrameHeap.Allocate< T > | ( | int | size, |
| T | allocTracker | ||
| ) |
Allocates a block of memory of the specified size with an allocation tracker.
| T | The type of the allocation tracker. |
| size | The size of the memory block to allocate. |
| allocTracker | The allocation tracker. |
Implemented in Quantum.Allocator.Heap.
| T | : | IHeapAllocationTracker |
| Ptr Quantum.Allocator.ITrackableFrameHeap.AllocatePtr< T > | ( | int | size, |
| T | allocTracker | ||
| ) |
Allocates a Ptr for a block of memory of the specified size with an allocation tracker.
| T | The type of the allocation tracker. |
| size | The size of the memory block to allocate. |
| allocTracker | The allocation tracker. |
Implemented in Quantum.Allocator.Heap.
| T | : | IHeapAllocationTracker |
| void* Quantum.Allocator.ITrackableFrameHeap.AllocateAndClear< T > | ( | int | size, |
| T | allocTracker | ||
| ) |
Allocates a block of memory of the specified size and clears it with an allocation tracker.
| T | The type of the allocation tracker. |
| size | The size of the memory block to allocate. |
| allocTracker | The allocation tracker. |
Implemented in Quantum.Allocator.Heap.
| T | : | IHeapAllocationTracker |
| Ptr Quantum.Allocator.ITrackableFrameHeap.AllocateAndClearPtr< T > | ( | int | size, |
| T | allocTracker | ||
| ) |
Allocates a Ptr for a block of memory of the specified size and clears it with an allocation tracker.
| T | The type of the allocation tracker. |
| size | The size of the memory block to allocate. |
| allocTracker | The allocation tracker. |
Implemented in Quantum.Allocator.Heap.
| T | : | IHeapAllocationTracker |
| T* Quantum.Allocator.ITrackableFrameHeap.ExpandArray< T, TTracker > | ( | T * | buffer, |
| int | currentSize, | ||
| int | newSize, | ||
| TTracker | allocTracker | ||
| ) |
Expands an array in the given buffer to the specified new size with an allocation tracker.
| T | The type of the elements in the array. |
| TTracker | The type of the allocation tracker. |
| buffer | The buffer containing the array. |
| currentSize | The current size of the array. |
| newSize | The new size of the array. |
| allocTracker | The allocation tracker. |
Implemented in Quantum.Allocator.Heap.
| T | : | unmanaged | |
| TTracker | : | IHeapAllocationTracker |
| void* Quantum.Allocator.ITrackableFrameHeap.Expand< T > | ( | void * | buffer, |
| int | currentSize, | ||
| int | newSize, | ||
| T | allocTracker | ||
| ) |
Expands a memory block in the given buffer to the specified new size with an allocation tracker.
| T | The type of the allocation tracker. |
| buffer | The buffer containing the memory block. |
| currentSize | The current size of the memory block. |
| newSize | The new size of the memory block. |
| allocTracker | The allocation tracker. |
Implemented in Quantum.Allocator.Heap.
| T | : | IHeapAllocationTracker |
| void Quantum.Allocator.ITrackableFrameHeap.Free< T > | ( | void * | ptr, |
| T | allocTracker | ||
| ) |
Frees a block of memory with an allocation tracker.
| T | The type of the allocation tracker. |
| ptr | A pointer to the memory block to free. |
| allocTracker | The allocation tracker. |
Implemented in Quantum.Allocator.Heap.
| T | : | IHeapAllocationTracker |
| void Quantum.Allocator.ITrackableFrameHeap.Free< T > | ( | Ptr | ptr, |
| T | allocTracker | ||
| ) |
Frees a Ptr for a block of memory with an allocation tracker.
| T | The type of the allocation tracker. |
| ptr | A Ptr for the memory block to free. |
| allocTracker | The allocation tracker. |
Implemented in Quantum.Allocator.Heap.
| T | : | IHeapAllocationTracker |