#include <NCV.hpp>
Inherits INCVMemAllocator.
Public Member Functions | |
NCVMemStackAllocator (Ncv32u alignment) | |
NCVMemStackAllocator (NCVMemoryType memT, size_t capacity, Ncv32u alignment, void *reusePtr=NULL) | |
virtual | ~NCVMemStackAllocator () |
virtual NCVStatus | alloc (NCVMemSegment &seg, size_t size) |
virtual NCVStatus | dealloc (NCVMemSegment &seg) |
virtual NcvBool | isInitialized (void) const |
virtual NcvBool | isCounting (void) const |
virtual NCVMemoryType | memType (void) const |
virtual Ncv32u | alignment (void) const |
virtual size_t | maxSize (void) const |
NCVMemStackAllocator::NCVMemStackAllocator | ( | Ncv32u | alignment | ) | [explicit] |
NCVMemStackAllocator::NCVMemStackAllocator | ( | NCVMemoryType | memT, |
size_t | capacity, | ||
Ncv32u | alignment, | ||
void * | reusePtr = NULL |
||
) |
virtual NCVMemStackAllocator::~NCVMemStackAllocator | ( | ) | [virtual] |
virtual NCVStatus NCVMemStackAllocator::alloc | ( | NCVMemSegment & | seg, |
size_t | size | ||
) | [virtual] |
Implements INCVMemAllocator.
virtual NCVStatus NCVMemStackAllocator::dealloc | ( | NCVMemSegment & | seg | ) | [virtual] |
Implements INCVMemAllocator.
virtual NcvBool NCVMemStackAllocator::isInitialized | ( | void | ) | const [virtual] |
Implements INCVMemAllocator.
virtual NcvBool NCVMemStackAllocator::isCounting | ( | void | ) | const [virtual] |
Implements INCVMemAllocator.
virtual NCVMemoryType NCVMemStackAllocator::memType | ( | void | ) | const [virtual] |
Implements INCVMemAllocator.
virtual Ncv32u NCVMemStackAllocator::alignment | ( | void | ) | const [virtual] |
Implements INCVMemAllocator.
virtual size_t NCVMemStackAllocator::maxSize | ( | void | ) | const [virtual] |
Implements INCVMemAllocator.