Grappa  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 85 of file PoolAllocator.hpp.

Constructor & Destructor Documentation

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

Definition at line 88 of file PoolAllocator.hpp.


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