Classes | Public Types | Public Member Functions | Public Attributes | Private Attributes | List of all members
lockfree::detail::SPAllocator< void > Class Reference

#include <object_pool.h>

Classes

struct  rebind
 

Public Types

typedef void * pointer
 
typedef void value_type
 

Public Member Functions

SPStorageget_block () const
 
FreeListget_pool () const
 
uint32_t get_used () const
 
template<class U >
 SPAllocator (const SPAllocator< U > &u) throw ()
 
 SPAllocator (FreeList *pool, SPStorage *block) throw ()
 

Public Attributes

const typedef void * const_pointer
 

Private Attributes

SPStorageblock_
 
FreeListpool_
 
uint32_t used_
 

Detailed Description

Definition at line 94 of file object_pool.h.

Member Typedef Documentation

◆ pointer

typedef void* lockfree::detail::SPAllocator< void >::pointer

Definition at line 97 of file object_pool.h.

◆ value_type

Definition at line 100 of file object_pool.h.

Constructor & Destructor Documentation

◆ SPAllocator() [1/2]

lockfree::detail::SPAllocator< void >::SPAllocator ( FreeList pool,
SPStorage block 
)
throw (
)
inline

Definition at line 108 of file object_pool.h.

◆ SPAllocator() [2/2]

template<class U >
lockfree::detail::SPAllocator< void >::SPAllocator ( const SPAllocator< U > &  u)
throw (
)
inline

Definition at line 116 of file object_pool.h.

Member Function Documentation

◆ get_block()

SPStorage* lockfree::detail::SPAllocator< void >::get_block ( ) const
inline

Definition at line 123 of file object_pool.h.

◆ get_pool()

FreeList* lockfree::detail::SPAllocator< void >::get_pool ( ) const
inline

Definition at line 125 of file object_pool.h.

◆ get_used()

uint32_t lockfree::detail::SPAllocator< void >::get_used ( ) const
inline

Definition at line 124 of file object_pool.h.

Member Data Documentation

◆ block_

SPStorage* lockfree::detail::SPAllocator< void >::block_
private

Definition at line 128 of file object_pool.h.

◆ const_pointer

const typedef void* lockfree::detail::SPAllocator< void >::const_pointer

Definition at line 98 of file object_pool.h.

◆ pool_

FreeList* lockfree::detail::SPAllocator< void >::pool_
private

Definition at line 130 of file object_pool.h.

◆ used_

uint32_t lockfree::detail::SPAllocator< void >::used_
private

Definition at line 129 of file object_pool.h.


The documentation for this class was generated from the following file:


lockfree
Author(s): Josh Faust
autogenerated on Wed Mar 2 2022 00:54:15