Grappa  r3821, hash 22cd626d567a91ead5b23302066d1e9469f45c66
Grappa::PoolAllocatorInternal< Bytes, Base > Class Template Reference

#include <PoolAllocator.hpp>

Inheritance diagram for Grappa::PoolAllocatorInternal< Bytes, Base >:
Grappa::PoolAllocator< Base >

Public Member Functions

 PoolAllocatorInternal ()
 
- Public Member Functions inherited from Grappa::PoolAllocator< Base >
Base * allocate (size_t sz)
 
 PoolAllocator (char *buffer, size_t buffer_size, bool owns_buffer)
 
void reset ()
 
virtual ~PoolAllocator ()
 
template<typename F >
void iterate (F f)
 Takes a lambda (or really any callable) that is called repeated for each allocated Base*. More...
 
size_t remaining ()
 

Additional Inherited Members

- Public Attributes inherited from Grappa::PoolAllocator< Base >
char * buffer
 
size_t buffer_size
 
size_t allocated
 
bool owns_buffer
 

Detailed Description

template<size_t Bytes, typename Base>
class Grappa::PoolAllocatorInternal< Bytes, Base >

Definition at line 96 of file PoolAllocator.hpp.

Constructor & Destructor Documentation

template<size_t Bytes, typename Base >
Grappa::PoolAllocatorInternal< Bytes, Base >::PoolAllocatorInternal ( )
inline

Definition at line 99 of file PoolAllocator.hpp.


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