#define ONIXS_FIXENGINE_API
The base class for a custom pool allocator to provide a strategy to create/destroy items for the thre...
size_t preferredSize()
Returns the preferred size of the pool.
void put(ItemBaseUniquePtr &poolItem)
Returns an item to the pool.
ThreadSafePool(size_t preferredSize, PoolAllocatorBase &allocator)
Initializes the instance.
~ThreadSafePool()
Removes pooled elements and cleans up internal resources.
void get(ItemBaseUniquePtr &poolItem)
Gets an item from the pool.
PtrTraits< ItemBase >::UniquePtr ItemBaseUniquePtr