8#ifndef INCLUDED_BDLMA_MULTIPOOL
9#define INCLUDED_BDLMA_MULTIPOOL
514#include <bdlscm_version.h>
587 int maxBlocksPerChunk);
589 int maxBlocksPerChunk);
591 const int *maxBlocksPerChunkArray);
598 const int *maxBlocksPerChunkArray);
659 int maxBlocksPerChunk,
667 int maxBlocksPerChunk,
671 const int *maxBlocksPerChunkArray,
711 const int *maxBlocksPerChunkArray,
742 template <
class TYPE>
752 template <
class TYPE>
820 return d_maxBlockSize;
828 return d_allocator_p;
Definition bdlma_blocklist.h:235
Definition bdlma_multipool.h:546
void deleteObject(const TYPE *object)
Definition bdlma_multipool.h:798
Multipool(int numPools, bsls::BlockGrowth::Strategy growthStrategy, bslma::Allocator *basicAllocator=0)
void release()
Relinquish all memory currently allocated via this multipool object.
Multipool(bsls::BlockGrowth::Strategy growthStrategy, bslma::Allocator *basicAllocator=0)
bslma::Allocator * allocator() const
Definition bdlma_multipool.h:826
int numPools() const
Return the number of pools managed by this multipool object.
Definition bdlma_multipool.h:812
void deallocate(void *address)
Multipool(int numPools, bslma::Allocator *basicAllocator=0)
Multipool(int numPools, const bsls::BlockGrowth::Strategy *growthStrategyArray, const int *maxBlocksPerChunkArray, bslma::Allocator *basicAllocator=0)
Multipool(bslma::Allocator *basicAllocator=0)
Multipool(int numPools, const bsls::BlockGrowth::Strategy *growthStrategyArray, bslma::Allocator *basicAllocator=0)
Multipool(int numPools, const bsls::BlockGrowth::Strategy *growthStrategyArray, int maxBlocksPerChunk, bslma::Allocator *basicAllocator=0)
Multipool(int numPools, bsls::BlockGrowth::Strategy growthStrategy, int maxBlocksPerChunk, bslma::Allocator *basicAllocator=0)
void reserveCapacity(bsls::Types::size_type size, int numBlocks)
bsls::Types::size_type maxPooledBlockSize() const
Definition bdlma_multipool.h:818
void deleteObjectRaw(const TYPE *object)
Definition bdlma_multipool.h:805
void * allocate(bsls::Types::size_type size)
Multipool(int numPools, bsls::BlockGrowth::Strategy growthStrategy, const int *maxBlocksPerChunkArray, bslma::Allocator *basicAllocator=0)
Definition bdlma_pool.h:335
Definition bslma_allocator.h:457
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition bdlma_alignedallocator.h:276
static void deleteObject(const TYPE *object, ALLOCATOR *allocator)
Definition bslma_deleterhelper.h:196
static void deleteObjectRaw(const TYPE *object, ALLOCATOR *allocator)
Definition bslma_deleterhelper.h:217
AlignmentToType< BSLS_MAX_ALIGNMENT >::Type MaxAlignedType
Definition bsls_alignmentutil.h:282
Strategy
Definition bsls_blockgrowth.h:169
std::size_t size_type
Definition bsls_types.h:124