Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
Allocators::Storage_AutoCommit< Allocator > Class Template Reference

#include <allocator_policies.h>

Public Member Functions

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

Private Member Functions

 NONCOPYABLE (Storage_AutoCommit)
 

Private Attributes

Allocator allocator
 
size_t maxCapacity
 
void * storage
 

Constructor & Destructor Documentation

◆ Storage_AutoCommit()

template<class Allocator = Allocator_AddressSpace<>>
Allocators::Storage_AutoCommit< Allocator >::Storage_AutoCommit ( size_t  maxCapacity_)
inline

◆ ~Storage_AutoCommit()

template<class Allocator = Allocator_AddressSpace<>>
Allocators::Storage_AutoCommit< Allocator >::~Storage_AutoCommit ( )
inline

Member Function Documentation

◆ Address()

template<class Allocator = Allocator_AddressSpace<>>
uintptr_t Allocators::Storage_AutoCommit< Allocator >::Address ( ) const
inline

◆ Capacity()

template<class Allocator = Allocator_AddressSpace<>>
size_t Allocators::Storage_AutoCommit< Allocator >::Capacity ( ) const
inline

◆ Expand()

template<class Allocator = Allocator_AddressSpace<>>
bool Allocators::Storage_AutoCommit< Allocator >::Expand ( size_t  requiredCapacity)
inline

◆ MaxCapacity()

template<class Allocator = Allocator_AddressSpace<>>
size_t Allocators::Storage_AutoCommit< Allocator >::MaxCapacity ( ) const
inline

◆ NONCOPYABLE()

template<class Allocator = Allocator_AddressSpace<>>
Allocators::Storage_AutoCommit< Allocator >::NONCOPYABLE ( Storage_AutoCommit< Allocator >  )
private

Member Data Documentation

◆ allocator

template<class Allocator = Allocator_AddressSpace<>>
Allocator Allocators::Storage_AutoCommit< Allocator >::allocator
private

◆ maxCapacity

template<class Allocator = Allocator_AddressSpace<>>
size_t Allocators::Storage_AutoCommit< Allocator >::maxCapacity
private

◆ storage

template<class Allocator = Allocator_AddressSpace<>>
void* Allocators::Storage_AutoCommit< Allocator >::storage
private

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