OpenCV  4.0.0-pre
Open Source Computer Vision
Looking for a C++ dev who knows OpenCV?
I'm looking for work. Hire me!

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
 
Tptr () const
 

Protected Attributes

size_t _length
 
NCVMemoryType _memtype
 
T_ptr
 

Detailed Description

template<class T>
class NCVVectorAlloc< T >

NCVVectorAlloc.

Constructor & Destructor Documentation

◆ NCVVectorAlloc()

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

◆ ~NCVVectorAlloc()

template<class T >
NCVVectorAlloc< T >::~NCVVectorAlloc ( )
inline

References NCV_SUCCESS, and ncvAssertPrintCheck.

Member Function Documentation

◆ clear()

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

References NCVMemoryTypeNone.

◆ copySolid()

template<class T>
NCVStatus NCVVector< T >::copySolid ( NCVVector< T > &  dst,
cudaStream_t  cuStream,
size_t  howMuch = 0 
) const
inlineinherited

◆ getAllocatorsAlignment()

template<class T >
Ncv32u NCVVectorAlloc< T >::getAllocatorsAlignment ( ) const
inline

◆ getSegment()

template<class T >
NCVMemSegment NCVVectorAlloc< T >::getSegment ( ) const
inline

◆ isMemAllocated()

template<class T >
NcvBool NCVVectorAlloc< T >::isMemAllocated ( ) const
inline

◆ length()

template<class T>
size_t NCVVector< T >::length ( ) const
inlineinherited

◆ memType()

template<class T>
NCVMemoryType NCVVector< T >::memType ( void  ) const
inlineinherited

◆ ptr()

template<class T>
T* NCVVector< T >::ptr ( ) const
inlineinherited

Member Data Documentation

◆ _length

template<class T>
size_t NCVVector< T >::_length
protectedinherited

◆ _memtype

template<class T>
NCVMemoryType NCVVector< T >::_memtype
protectedinherited

◆ _ptr

template<class T>
T* NCVVector< T >::_ptr
protectedinherited

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