#include <Allocator.h>
Collaboration diagram for nvutil::FixedAllocator:
Public Methods | |
FixedAllocator () | |
default constructs a FixedAllocator object. More... | |
~FixedAllocator () | |
destructor - last chunk memory cleanup. More... | |
void * | alloc () |
Allocate one memory block of size blockSize. More... | |
void | dealloc (void *p) |
Free the single memory block pointed to by p. More... | |
void | init (size_t blockSize) |
one time initialization. More... |
|
default constructs a FixedAllocator object.
|
|
destructor - last chunk memory cleanup.
|
|
Allocate one memory block of size blockSize.
|
|
Free the single memory block pointed to by p.
|
|
one time initialization. one time initialization |