This reference page is linked to from the following overview
topics: FBX SDK
2012.
Detailed Description
class KMemory pool
Definition at line 215 of file kmemory.h.
#include <kmemory.h>
List of all
members.
Public Member Functions
|
| |
KMemoryPool
(kSizeT
pBlockSize=0, kUInt
pBlockCount=0, kUInt
pAlignment=0, bool pResizable=true, bool
pSupportConcurrentAccess=true) |
| |
The class constructor.
|
| |
~KMemoryPool
() |
| void |
Init
(kSizeT
pBlockSize, kUInt
pBlockCount=0, kUInt
pAlignment=0, bool pResizable=true) |
| |
Initiate the memory pool to the given
parameters.
|
| void |
Clear
() |
| |
Uninitialized memory pool.
|
| void
* |
Allocate
() |
| |
Allocate or lock for usage a memory block.
|
| void |
Free
(void *pMemBlock) |
| |
Dispose or unlock the usage of a memory
block.
|
Constructor & Destructor Documentation
| KMemoryPool |
( |
kSizeT |
pBlockSize = 0, |
|
|
kUInt |
pBlockCount = 0, |
|
|
kUInt |
pAlignment = 0, |
|
|
bool |
pResizable = true, |
|
|
bool |
pSupportConcurrentAccess =
true |
|
) |
|
[explicit] |
The class constructor.
- Parameters:
-
| pSupportConcurrentAccess |
Whether the pool supports concurrent allocation and release
operations. |
| pBlockSize |
|
| pBlockCount |
|
| pAlignment |
|
| pResizable |
|
Member Function Documentation
| void Init |
( |
kSizeT |
pBlockSize, |
|
|
kUInt |
pBlockCount = 0, |
|
|
kUInt |
pAlignment = 0, |
|
|
bool |
pResizable =
true |
|
) |
|
|
Initiate the memory pool to the given parameters.
- Parameters:
-
| pBlockSize |
|
| pBlockCount |
The blocks size. |
| pAlignment |
Alignment. |
| pResizable |
Is it resizable? |
Uninitialized memory pool.
Allocate or lock for usage a memory block.
- Returns:
- a memory block.
| void Free |
( |
void * |
pMemBlock |
) |
|
Dispose or unlock the usage of a memory block.
Asserting that this pool own this block.
- Parameters:
-
The documentation for this class was generated from the following
file:
- fbxfilesdk/components/kbaselib/klib/kmemory.h
KMemoryPool KMemoryPool KMemoryPool
KMemoryPool KMemoryPool KMemoryPool KMemoryPool KMemoryPool
KMemoryPool KMemoryPool
KMemoryPool KMemoryPool KMemoryPool
KMemoryPool KMemoryPool KMemoryPool KMemoryPool KMemoryPool
KMemoryPool KMemoryPool