Public Member Functions
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 
)

Member Function Documentation

virtual NCVStatus NCVMemStackAllocator::alloc ( NCVMemSegment seg,
size_t  size 
) [virtual]

Implements INCVMemAllocator.

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: