NVIDIA DeepStream SDK API Reference

6.1.1 Release

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
INvDsAllocator Class Referenceabstract

Detailed Description

Definition at line 16 of file INvDsAllocator.h.

Inheritance diagram for INvDsAllocator:

Public Member Functions

virtual void * Allocate (uint32_t size)=0
 Allocate memory of Bytes. More...
 
virtual void Deallocate (void *data)=0
 Deallocate the memory allocated using Allocate() More...
 
virtual ~INvDsAllocator ()
 

Constructor & Destructor Documentation

virtual INvDsAllocator::~INvDsAllocator ( )
inlinevirtual

Definition at line 30 of file INvDsAllocator.h.

Member Function Documentation

virtual void* INvDsAllocator::Allocate ( uint32_t  size)
pure virtual

Allocate memory of Bytes.

Parameters
size[IN] The # of bytes to allocate
Returns
The newly allocated Memory buffer handle

Implemented in NvDsMemoryAllocator.

virtual void INvDsAllocator::Deallocate ( void *  data)
pure virtual

Deallocate the memory allocated using Allocate()

Parameters
data[IN] The Memory buffer handle

Implemented in NvDsMemoryAllocator.


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