Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Allocators::Storage_Commit< Allocator, GrowthPolicy > Class Template Reference

#include <allocator_policies.h>

Public Member Functions

 Storage_Commit (size_t maxCapacity_)
 
 ~Storage_Commit ()
 
uintptr_t Address () const
 
size_t Capacity () const
 
size_t MaxCapacity () const
 
bool Expand (size_t requiredCapacity)
 

Private Member Functions

 NONCOPYABLE (Storage_Commit)
 

Private Attributes

Allocator allocator
 
size_t maxCapacity
 
void * storage
 
size_t capacity
 

Detailed Description

template<class Allocator = Allocator_AddressSpace<>, class GrowthPolicy = Growth_Exponential<2,1>>
class Allocators::Storage_Commit< Allocator, GrowthPolicy >

Definition at line 208 of file allocator_policies.h.

Constructor & Destructor Documentation

template<class Allocator = Allocator_AddressSpace<>, class GrowthPolicy = Growth_Exponential<2,1>>
Allocators::Storage_Commit< Allocator, GrowthPolicy >::Storage_Commit ( size_t  maxCapacity_)
inline

Definition at line 212 of file allocator_policies.h.

template<class Allocator = Allocator_AddressSpace<>, class GrowthPolicy = Growth_Exponential<2,1>>
Allocators::Storage_Commit< Allocator, GrowthPolicy >::~Storage_Commit ( )
inline

Definition at line 219 of file allocator_policies.h.

Member Function Documentation

template<class Allocator = Allocator_AddressSpace<>, class GrowthPolicy = Growth_Exponential<2,1>>
uintptr_t Allocators::Storage_Commit< Allocator, GrowthPolicy >::Address ( ) const
inline

Definition at line 224 of file allocator_policies.h.

template<class Allocator = Allocator_AddressSpace<>, class GrowthPolicy = Growth_Exponential<2,1>>
size_t Allocators::Storage_Commit< Allocator, GrowthPolicy >::Capacity ( ) const
inline

Definition at line 229 of file allocator_policies.h.

template<class Allocator = Allocator_AddressSpace<>, class GrowthPolicy = Growth_Exponential<2,1>>
bool Allocators::Storage_Commit< Allocator, GrowthPolicy >::Expand ( size_t  requiredCapacity)
inline

Definition at line 239 of file allocator_policies.h.

template<class Allocator = Allocator_AddressSpace<>, class GrowthPolicy = Growth_Exponential<2,1>>
size_t Allocators::Storage_Commit< Allocator, GrowthPolicy >::MaxCapacity ( ) const
inline

Definition at line 234 of file allocator_policies.h.

template<class Allocator = Allocator_AddressSpace<>, class GrowthPolicy = Growth_Exponential<2,1>>
Allocators::Storage_Commit< Allocator, GrowthPolicy >::NONCOPYABLE ( Storage_Commit< Allocator, GrowthPolicy >  )
private

Member Data Documentation

template<class Allocator = Allocator_AddressSpace<>, class GrowthPolicy = Growth_Exponential<2,1>>
Allocator Allocators::Storage_Commit< Allocator, GrowthPolicy >::allocator
private

Definition at line 255 of file allocator_policies.h.

template<class Allocator = Allocator_AddressSpace<>, class GrowthPolicy = Growth_Exponential<2,1>>
size_t Allocators::Storage_Commit< Allocator, GrowthPolicy >::capacity
private

Definition at line 258 of file allocator_policies.h.

template<class Allocator = Allocator_AddressSpace<>, class GrowthPolicy = Growth_Exponential<2,1>>
size_t Allocators::Storage_Commit< Allocator, GrowthPolicy >::maxCapacity
private

Definition at line 256 of file allocator_policies.h.

template<class Allocator = Allocator_AddressSpace<>, class GrowthPolicy = Growth_Exponential<2,1>>
void* Allocators::Storage_Commit< Allocator, GrowthPolicy >::storage
private

Definition at line 257 of file allocator_policies.h.


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