OpenCV  3.2.0-dev
Open Source Computer Vision

NCVMemStackAllocator. More...

#include "NCV.hpp"

Inheritance diagram for NCVMemStackAllocator:
Collaboration diagram for NCVMemStackAllocator:

Public Member Functions

 NCVMemStackAllocator (Ncv32u alignment)
 
 NCVMemStackAllocator (NCVMemoryType memT, size_t capacity, Ncv32u alignment, void *reusePtr=NULL)
 
virtual ~NCVMemStackAllocator ()
 
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
 

Detailed Description

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 Ncv32u NCVMemStackAllocator::alignment ( void  ) const
virtual

Implements INCVMemAllocator.

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

Implements INCVMemAllocator.

virtual NCVStatus NCVMemStackAllocator::dealloc ( NCVMemSegment seg)
virtual

Implements INCVMemAllocator.

virtual NcvBool NCVMemStackAllocator::isCounting ( void  ) const
virtual

Implements INCVMemAllocator.

virtual NcvBool NCVMemStackAllocator::isInitialized ( void  ) const
virtual

Implements INCVMemAllocator.

virtual size_t NCVMemStackAllocator::maxSize ( void  ) const
virtual

Implements INCVMemAllocator.

virtual NCVMemoryType NCVMemStackAllocator::memType ( void  ) const
virtual

Implements INCVMemAllocator.


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