class FrameHeapAllocator : public nw::os::IAllocator
Frame heap allocator for demos.
Internally uses the frame heap of CTR-SDK.
| S | DEFAULT_ALIGNMENT | const int |
The default value when the alignment specification has been omitted.(Derives from IAllocator. |
|---|---|---|---|
| S | CACHE_LINE_ALIGNMENT | const int |
Cache alignment.(Derives from IAllocator. |
| Create/Destroy | ||
|---|---|---|
Initialize
|
Initializes the frame heap allocator for demos. | |
| Finalize | Destroys the frame heap allocator for demos. | |
| Allocating and Freeing Memory | ||
| V |
Alloc
|
Allocates memory from the frame heap. |
| V | Free | Although this function is provided as an implementation of Iallocator, nothing happens even if it is called. |
| FreeAll | Frees all memory that has been allocated. | |
| Utilities | ||
Alloc
|
Allocates memory when the alignment specification has been omitted. | |
| AllocAndClear | Allocates memory and clears with the specified byte data.(Derives from IAllocator. |
|
| AllocAndConstruct | Allocates the memory required for the specified number of objects and calls a constructor.(Derives from IAllocator. |
|
| AllocAndFill | Allocates the memory required for the specified number of objects and copies the specified object.(Derives from IAllocator. |
|
| DestructAndFree | Calls a destructor for the specified number of objects and frees memory.(Derives from IAllocator. |
|
| Other | ||
| FrameHeapAllocator | Constructor. | |
GetStartAddress
|
Gets the start address specified at the time of initialization. | |
nw::os::IAllocator
nw::demo::FrameHeapAllocator
CONFIDENTIAL