#include <object_pool.h>
Classes | |
struct | rebind |
Public Types | |
typedef const void * | const_pointer |
typedef void * | pointer |
typedef void | value_type |
Public Member Functions | |
SPStorage * | get_block () const |
FreeList * | get_pool () const |
uint32_t | get_used () const |
SPAllocator (FreeList *pool, SPStorage *block) throw () | |
template<class U > | |
SPAllocator (const SPAllocator< U > &u) throw () | |
Private Attributes | |
SPStorage * | block_ |
FreeList * | pool_ |
uint32_t | used_ |
Definition at line 62 of file object_pool.h.
typedef const void* lockfree::detail::SPAllocator< void >::const_pointer |
Definition at line 66 of file object_pool.h.
typedef void* lockfree::detail::SPAllocator< void >::pointer |
Definition at line 65 of file object_pool.h.
typedef void lockfree::detail::SPAllocator< void >::value_type |
Definition at line 68 of file object_pool.h.
lockfree::detail::SPAllocator< void >::SPAllocator | ( | FreeList * | pool, |
SPStorage * | block | ||
) | throw () [inline] |
Definition at line 76 of file object_pool.h.
lockfree::detail::SPAllocator< void >::SPAllocator | ( | const SPAllocator< U > & | u | ) | throw () [inline] |
Definition at line 84 of file object_pool.h.
SPStorage* lockfree::detail::SPAllocator< void >::get_block | ( | ) | const [inline] |
Definition at line 91 of file object_pool.h.
FreeList* lockfree::detail::SPAllocator< void >::get_pool | ( | ) | const [inline] |
Definition at line 93 of file object_pool.h.
uint32_t lockfree::detail::SPAllocator< void >::get_used | ( | ) | const [inline] |
Definition at line 92 of file object_pool.h.
SPStorage* lockfree::detail::SPAllocator< void >::block_ [private] |
Definition at line 96 of file object_pool.h.
FreeList* lockfree::detail::SPAllocator< void >::pool_ [private] |
Definition at line 98 of file object_pool.h.
uint32_t lockfree::detail::SPAllocator< void >::used_ [private] |
Definition at line 97 of file object_pool.h.