class NCVMemStackAllocator
#include <NCV.hpp> class NCVMemStackAllocator: public INCVMemAllocator { public: // construction NCVMemStackAllocator(Ncv32u alignment); NCVMemStackAllocator( NCVMemoryType memT, size_t capacity, Ncv32u alignment, void* reusePtr = NULL ); // methods virtual Ncv32u alignment(void) const; virtual NCVStatus alloc( NCVMemSegment& seg, size_t size ); virtual NCVStatus dealloc(NCVMemSegment& seg); virtual NcvBool isCounting(void) const; virtual NcvBool isInitialized(void) const; virtual size_t maxSize(void) const; virtual NCVMemoryType memType(void) const; };
Inherited Members
public: // methods virtual Ncv32u alignment(void) const = 0; virtual NCVStatus alloc( NCVMemSegment& seg, size_t size ) = 0; virtual NCVStatus dealloc(NCVMemSegment& seg) = 0; virtual NcvBool isCounting(void) const = 0; virtual NcvBool isInitialized(void) const = 0; virtual size_t maxSize(void) const = 0; virtual NCVMemoryType memType(void) const = 0;