Template Class FixedSizePool¶
Defined in File FixedSizePool.hpp
Class Documentation¶
-
template<class
T, classMA, classIA= StdAllocator, intNP= (1 << 6)>
classFixedSizePool¶ Public Functions
-
FixedSizePool()¶
-
~FixedSizePool()¶
-
std::size_t
getCurrentSize() const¶ Return allocated size to user.
-
std::size_t
getActualSize() const¶ Return total size with internal overhead.
-
std::size_t
numPools() const¶ Return the number of pools.
-
std::size_t
poolSize() const¶ Return the pool size.
Public Static Functions
-
FixedSizePool &
getInstance()¶
Protected Attributes
-
const std::size_t
numPerPool¶
-
const std::size_t
totalPoolSize¶
-
std::size_t
numBlocks¶
-
struct
Pool¶
-