#include <NCV.hpp>
Inherited by NCVMemNativeAllocator, and NCVMemStackAllocator.
Public Member Functions | |
virtual | ~INCVMemAllocator ()=0 |
virtual NCVStatus | alloc (NCVMemSegment &seg, size_t size)=0 |
virtual NCVStatus | dealloc (NCVMemSegment &seg)=0 |
virtual NcvBool | isInitialized (void) const =0 |
virtual NcvBool | isCounting (void) const =0 |
virtual NCVMemoryType | memType (void) const =0 |
virtual Ncv32u | alignment (void) const =0 |
virtual size_t | maxSize (void) const =0 |
INCVMemAllocator (Interface)
INCVMemAllocator::~INCVMemAllocator | ( | ) | [pure virtual] |
virtual NCVStatus INCVMemAllocator::alloc | ( | NCVMemSegment & | seg, | |
size_t | size | |||
) | [pure virtual] |
Implemented in NCVMemStackAllocator, and NCVMemNativeAllocator.
virtual NCVStatus INCVMemAllocator::dealloc | ( | NCVMemSegment & | seg | ) | [pure virtual] |
Implemented in NCVMemStackAllocator, and NCVMemNativeAllocator.
virtual NcvBool INCVMemAllocator::isInitialized | ( | void | ) | const [pure virtual] |
Implemented in NCVMemStackAllocator, and NCVMemNativeAllocator.
virtual NcvBool INCVMemAllocator::isCounting | ( | void | ) | const [pure virtual] |
Implemented in NCVMemStackAllocator, and NCVMemNativeAllocator.
virtual NCVMemoryType INCVMemAllocator::memType | ( | void | ) | const [pure virtual] |
Implemented in NCVMemStackAllocator, and NCVMemNativeAllocator.
virtual Ncv32u INCVMemAllocator::alignment | ( | void | ) | const [pure virtual] |
Implemented in NCVMemStackAllocator, and NCVMemNativeAllocator.
virtual size_t INCVMemAllocator::maxSize | ( | void | ) | const [pure virtual] |
Implemented in NCVMemStackAllocator, and NCVMemNativeAllocator.