Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
MyMemoryPoolAllocator Class Reference
Inheritance diagram for MyMemoryPoolAllocator:
Collaboration diagram for MyMemoryPoolAllocator:

Private Member Functions

void * allocateMemory (Int64 size) override
 Allocates a block for size bytes.
void freeMemory (void *address, Int64) override
 Frees the block located at address address containing size bytes.

Detailed Description

Definition at line 25 of file TestMemoryPool.cc.

Member Function Documentation

◆ allocateMemory()

void * MyMemoryPoolAllocator::allocateMemory ( Int64 size)
inlineoverrideprivatevirtual

Allocates a block for size bytes.

Implements Arcane::Impl::IMemoryPoolAllocator.

Definition at line 28 of file TestMemoryPool.cc.

◆ freeMemory()

void MyMemoryPoolAllocator::freeMemory ( void * address,
Int64 size )
inlineoverrideprivatevirtual

Frees the block located at address address containing size bytes.

Implements Arcane::Impl::IMemoryPoolAllocator.

Definition at line 29 of file TestMemoryPool.cc.


The documentation for this class was generated from the following file: