NCVMemStackAllocator Class Reference

#include <NCV.hpp>

Inherits INCVMemAllocator.

List of all members.

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

Detailed Description

NCVMemStackAllocator


Constructor & Destructor Documentation

NCVMemStackAllocator::NCVMemStackAllocator ( Ncv32u  alignment  )  [explicit]
NCVMemStackAllocator::NCVMemStackAllocator ( NCVMemoryType  memT,
size_t  capacity,
Ncv32u  alignment,
void *  reusePtr = NULL 
)
virtual NCVMemStackAllocator::~NCVMemStackAllocator (  )  [virtual]

Member Function Documentation

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.


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