Quantum 3
3.0.9
Custom heap interface for allocating memory on the frame. More...
Public Member Functions | |
| 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... | |
Custom heap interface for allocating memory on the frame.
| void* Quantum.Allocator.IFrameHeap.Allocate | ( | int | size | ) |
Allocates a block of memory of the specified size.
| size | The size of the memory block to allocate. |
Implemented in Quantum.Allocator.FrameHeap.
| Ptr Quantum.Allocator.IFrameHeap.AllocatePtr | ( | int | size | ) |
Allocates a Ptr for a block of memory of the specified size.
| size | The size of the memory block to allocate. |
Implemented in Quantum.Allocator.FrameHeap.
| void* Quantum.Allocator.IFrameHeap.AllocateAndClear | ( | int | size | ) |
Allocates a block of memory of the specified size and clears it.
| size | The size of the memory block to allocate. |
Implemented in Quantum.Allocator.FrameHeap.
| Ptr Quantum.Allocator.IFrameHeap.AllocateAndClearPtr | ( | int | size | ) |
Allocates a Ptr for a block of memory of the specified size and clears it.
| size | The size of the memory block to allocate. |
Implemented in Quantum.Allocator.FrameHeap.
| T* Quantum.Allocator.IFrameHeap.ExpandArray< T > | ( | T * | buffer, |
| int | currentSize, | ||
| int | newSize | ||
| ) |
Expands an array in the given buffer to the specified new size.
| T | The type of the elements in the array. |
| buffer | The buffer containing the array. |
| currentSize | The current size of the array. |
| newSize | The new size of the array. |
| T | : | unmanaged |
| void* Quantum.Allocator.IFrameHeap.Expand | ( | void * | buffer, |
| int | currentSize, | ||
| int | newSize | ||
| ) |
Expands a memory block in the given buffer to the specified new size.
| buffer | The buffer containing the memory block. |
| currentSize | The current size of the memory block. |
| newSize | The new size of the memory block. |
| void Quantum.Allocator.IFrameHeap.Free | ( | void * | ptr | ) |
Frees a block of memory.
| ptr | A pointer to the memory block to free. |
Implemented in Quantum.Allocator.FrameHeap, and Quantum.Allocator.Heap.
| void Quantum.Allocator.IFrameHeap.Free | ( | Ptr | ptr | ) |
Frees a Ptr for a block of memory.
| ptr | A Ptr for the memory block to free. |
Implemented in Quantum.Allocator.FrameHeap, and Quantum.Allocator.Heap.
| Ptr Quantum.Allocator.IFrameHeap.Void | ( | void * | ptr | ) |
Converts a pointer to a void pointer.
| ptr | A pointer to convert. |
Implemented in Quantum.Allocator.FrameHeap, and Quantum.Allocator.Heap.
| void* Quantum.Allocator.IFrameHeap.Void | ( | Ptr | p | ) |
Converts a Ptr to a void pointer.
| p | A Ptr to convert. |
Implemented in Quantum.Allocator.FrameHeap, and Quantum.Allocator.Heap.
| TPtr* Quantum.Allocator.IFrameHeap.Void< TPtr > | ( | Ptr | p | ) |
Converts a Ptr to a typed pointer.
| TPtr | The type of the pointer to convert to. |
| p | A Ptr to convert. |
Implemented in Quantum.Allocator.FrameHeap.
| TPtr | : | unmanaged |