CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Static Public Member Functions
BlockWipedAllocated< T > Class Template Reference

#include <BlockWipedAllocator.h>

Static Public Member Functions

static BlockWipedAllocatorallocator ()
 
static void operator delete (void *p)
 
static void * operator new (size_t)
 
static BlockWipedAllocator::Stat stat ()
 

Detailed Description

template<typename T>
class BlockWipedAllocated< T >

Definition at line 181 of file BlockWipedAllocator.h.

Member Function Documentation

template<typename T >
static BlockWipedAllocator& BlockWipedAllocated< T >::allocator ( )
inlinestatic

Definition at line 191 of file BlockWipedAllocator.h.

References BlockWipedPool::allocator(), and blockWipedPool().

Referenced by BlockWipedAllocated< T >::operator delete(), BlockWipedAllocated< T >::operator new(), and BlockWipedAllocated< T >::stat().

191  {
192  static BlockWipedAllocator & local = blockWipedPool().allocator(sizeof(T));
193  return local;
194  }
Allocator & allocator(std::size_t typeSize)
BlockWipedPool & blockWipedPool()
template<typename T >
static void BlockWipedAllocated< T >::operator delete ( void *  p)
inlinestatic
template<typename T >
static void* BlockWipedAllocated< T >::operator new ( size_t  )
inlinestatic

Definition at line 183 of file BlockWipedAllocator.h.

References BlockWipedAllocator::alloc(), and BlockWipedAllocated< T >::allocator().

183  {
184  return allocator().alloc();
185  }
static BlockWipedAllocator & allocator()
template<typename T >
static BlockWipedAllocator::Stat BlockWipedAllocated< T >::stat ( )
inlinestatic

Definition at line 197 of file BlockWipedAllocator.h.

References BlockWipedAllocated< T >::allocator(), and BlockWipedAllocator::stat().

197  {
198  return allocator().stat();
199  }
static BlockWipedAllocator & allocator()