OpenCV  3.2.0-dev
Open Source Computer Vision

NCVVectorAlloc. More...

#include "NCV.hpp"

Inheritance diagram for NCVVectorAlloc< T >:
Collaboration diagram for NCVVectorAlloc< T >:

Public Member Functions

 NCVVectorAlloc (INCVMemAllocator &allocator_, Ncv32u length_)
 
 ~NCVVectorAlloc ()
 
void clear ()
 
NCVStatus copySolid (NCVVector< T > &dst, cudaStream_t cuStream, size_t howMuch=0) const
 
Ncv32u getAllocatorsAlignment () const
 
NCVMemSegment getSegment () const
 
NcvBool isMemAllocated () const
 
size_t length () const
 
NCVMemoryType memType () const
 
T * ptr () const
 

Protected Attributes

size_t _length
 
NCVMemoryType _memtype
 
T * _ptr
 

Detailed Description

template<class T>
class NCVVectorAlloc< T >

NCVVectorAlloc.

Constructor & Destructor Documentation

template<class T >
NCVVectorAlloc< T >::NCVVectorAlloc ( INCVMemAllocator allocator_,
Ncv32u  length_ 
)
inline
template<class T >
NCVVectorAlloc< T >::~NCVVectorAlloc ( )
inline

References NCV_SUCCESS, and ncvAssertPrintCheck.

Member Function Documentation

template<class T>
void NCVVector< T >::clear ( )
inlineinherited

References NCVMemoryTypeNone.

template<class T>
NCVStatus NCVVector< T >::copySolid ( NCVVector< T > &  dst,
cudaStream_t  cuStream,
size_t  howMuch = 0 
) const
inlineinherited
template<class T >
Ncv32u NCVVectorAlloc< T >::getAllocatorsAlignment ( ) const
inline
template<class T >
NCVMemSegment NCVVectorAlloc< T >::getSegment ( ) const
inline
template<class T >
NcvBool NCVVectorAlloc< T >::isMemAllocated ( ) const
inline
template<class T>
size_t NCVVector< T >::length ( ) const
inlineinherited
template<class T>
NCVMemoryType NCVVector< T >::memType ( void  ) const
inlineinherited
template<class T>
T* NCVVector< T >::ptr ( ) const
inlineinherited

Member Data Documentation

template<class T>
size_t NCVVector< T >::_length
protectedinherited
template<class T>
NCVMemoryType NCVVector< T >::_memtype
protectedinherited
template<class T>
T* NCVVector< T >::_ptr
protectedinherited

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