#include <TestDoubleVariableMemoryPoolFactory.h>
◆ TestDoubleVariableMemoryPool()
TestDoubleOSWrapper::TestDoubleVariableMemoryPool::TestDoubleVariableMemoryPool |
( |
| ) |
|
|
inline |
◆ ~TestDoubleVariableMemoryPool()
virtual TestDoubleOSWrapper::TestDoubleVariableMemoryPool::~TestDoubleVariableMemoryPool |
( |
| ) |
|
|
inlinevirtual |
◆ allocate()
virtual void * TestDoubleOSWrapper::TestDoubleVariableMemoryPool::allocate |
( |
std::size_t |
size | ) |
|
|
inlinevirtual |
Allocate a memory from this VariableMemoryPool.
- Parameters
-
size | Number of bytes of allocation |
- Returns
- If required free areas exist in the memory pool then returns a pointer of allocated memory, else returns null pointer
Implements OSWrapper::VariableMemoryPool.
◆ deallocate()
virtual void TestDoubleOSWrapper::TestDoubleVariableMemoryPool::deallocate |
( |
void * |
p | ) |
|
|
inlinevirtual |
Release the allocated memory.
- Parameters
-
p | Pointer of allocated memory |
- Note
- If p is null pointer, do nothing.
Implements OSWrapper::VariableMemoryPool.
◆ setCreateArgs()
void TestDoubleOSWrapper::TestDoubleVariableMemoryPool::setCreateArgs |
( |
std::size_t |
memoryPoolSize, |
|
|
void * |
memoryPoolAddress |
|
) |
| |
|
inline |
◆ m_memoryPoolAddress
void* TestDoubleOSWrapper::TestDoubleVariableMemoryPool::m_memoryPoolAddress |
|
protected |
◆ m_memoryPoolSize
std::size_t TestDoubleOSWrapper::TestDoubleVariableMemoryPool::m_memoryPoolSize |
|
protected |
The documentation for this class was generated from the following file: