Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <TaskAllocator.hh>
Classes | |
struct | rebind |
Public Types | |
typedef Type | value_type |
typedef size_t | size_type |
typedef ptrdiff_t | difference_type |
typedef Type * | pointer |
typedef const Type * | const_pointer |
typedef Type & | reference |
typedef const Type & | const_reference |
Public Member Functions | |
TaskAllocatorImpl () | |
~TaskAllocatorImpl () | |
Type * | MallocSingle () |
void | FreeSingle (Type *anElement) |
void | ResetStorage () override |
size_t | GetAllocatedSize () const override |
int | GetNoPages () const override |
size_t | GetPageSize () const override |
void | IncreasePageSize (unsigned int sz) override |
const char * | GetPoolType () const override |
template<class U > | |
TaskAllocatorImpl (const TaskAllocatorImpl< U > &right) throw () | |
pointer | address (reference r) const |
const_pointer | address (const_reference r) const |
pointer | allocate (size_type n, void *=0) |
void | deallocate (pointer p, size_type n) |
void | construct (pointer p, const Type &val) |
void | destroy (pointer p) |
size_type | max_size () const throw () |
Public Member Functions inherited from PTL::TaskAllocatorBase | |
TaskAllocatorBase () | |
virtual | ~TaskAllocatorBase () |
virtual void | ResetStorage ()=0 |
virtual size_t | GetAllocatedSize () const =0 |
virtual int | GetNoPages () const =0 |
virtual size_t | GetPageSize () const =0 |
virtual void | IncreasePageSize (unsigned int sz)=0 |
virtual const char * | GetPoolType () const =0 |
Public Attributes | |
TaskAllocatorPool | mem |
Definition at line 61 of file TaskAllocator.hh.
typedef const Type* PTL::TaskAllocatorImpl< Type >::const_pointer |
Definition at line 101 of file TaskAllocator.hh.
typedef const Type& PTL::TaskAllocatorImpl< Type >::const_reference |
Definition at line 103 of file TaskAllocator.hh.
typedef ptrdiff_t PTL::TaskAllocatorImpl< Type >::difference_type |
Definition at line 99 of file TaskAllocator.hh.
typedef Type* PTL::TaskAllocatorImpl< Type >::pointer |
Definition at line 100 of file TaskAllocator.hh.
typedef Type& PTL::TaskAllocatorImpl< Type >::reference |
Definition at line 102 of file TaskAllocator.hh.
typedef size_t PTL::TaskAllocatorImpl< Type >::size_type |
Definition at line 98 of file TaskAllocator.hh.
typedef Type PTL::TaskAllocatorImpl< Type >::value_type |
Definition at line 97 of file TaskAllocator.hh.
PTL::TaskAllocatorImpl< Type >::TaskAllocatorImpl |
Definition at line 211 of file TaskAllocator.hh.
PTL::TaskAllocatorImpl< Type >::~TaskAllocatorImpl |
Definition at line 221 of file TaskAllocator.hh.
|
inline |
Definition at line 106 of file TaskAllocator.hh.
|
inline |
Definition at line 113 of file TaskAllocator.hh.
|
inline |
Definition at line 112 of file TaskAllocator.hh.
|
inline |
Definition at line 116 of file TaskAllocator.hh.
|
inline |
Definition at line 138 of file TaskAllocator.hh.
|
inline |
Definition at line 127 of file TaskAllocator.hh.
|
inline |
Definition at line 140 of file TaskAllocator.hh.
|
inline |
Definition at line 241 of file TaskAllocator.hh.
Referenced by PTL::TaskAllocatorImpl< Type >::deallocate(), and PTL::TaskAllocator< Type >::operator delete().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements PTL::TaskAllocatorBase.
Definition at line 289 of file TaskAllocator.hh.
|
inlineoverridevirtual |
Implements PTL::TaskAllocatorBase.
Definition at line 312 of file TaskAllocator.hh.
|
inlineoverridevirtual |
Implements PTL::TaskAllocatorBase.
Definition at line 300 of file TaskAllocator.hh.
|
inline |
Definition at line 230 of file TaskAllocator.hh.
Referenced by PTL::TaskAllocatorImpl< Type >::allocate(), and PTL::TaskAllocator< Type >::operator new().
|
inline |
Definition at line 143 of file TaskAllocator.hh.
|
inlineoverridevirtual |
Implements PTL::TaskAllocatorBase.
Definition at line 253 of file TaskAllocator.hh.
TaskAllocatorPool PTL::TaskAllocatorImpl< Type >::mem |
Definition at line 157 of file TaskAllocator.hh.