Navigation
API > API/Plugins > API/Plugins/RigLogicLib > API/Plugins/RigLogicLib/pma > API/Plugins/RigLogicLib/pma/resources
Inheritance Hierarchy
- MemoryResource
- ArenaMemoryResource
References
| Module | RigLogicLib |
| Header | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/pma/resources/ArenaMemoryResource.h |
| Include | #include "pma/resources/ArenaMemoryResource.h" |
Syntax
class ArenaMemoryResource : public pma::MemoryResource
Remarks
Serves allocations from a preallocated memory region.
Constructors
| Type | Name | Description | |
|---|---|---|---|
ArenaMemoryResource
(
const ArenaMemoryResource& |
|||
ArenaMemoryResource
(
std::size_t regionSize, |
Constructor. | ||
ArenaMemoryResource
(
std::size_t regionSize, |
Constructor. | ||
ArenaMemoryResource
(
std::size_t initialSize, |
Constructor. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| MemoryResource * | The upstream memory resource was passed through the constructor and is backing all arena allocations. |
Overridden from MemoryResource
| Type | Name | Description | |
|---|---|---|---|
| void * | allocate
(
std::size_t size, |
All allocations will be served from the currently active memory region. | |
| void | deallocate
(
void* ptr, |
This is a no-op, and the regions are only freed when the arena itself is destroyed. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| ArenaMemoryResource & | operator=
(
const ArenaMemoryResource& |
||
| ArenaMemoryResource & | operator=
(
ArenaMemoryResource&& |
Classes
| Type | Name | Description | |
|---|---|---|---|
| Impl |