NVIDIA DeepStream SDK API Reference

9.0 Release
INvDsAllocator Class Referenceabstract

Detailed Description

Definition at line 18 of file sources/includes/INvDsAllocator.h.

Inheritance diagram for INvDsAllocator:

Public Member Functions

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

Constructor & Destructor Documentation

◆ ~INvDsAllocator() [1/2]

virtual INvDsAllocator::~INvDsAllocator ( )
inlinevirtual

Definition at line 32 of file sources/includes/INvDsAllocator.h.

◆ ~INvDsAllocator() [2/2]

virtual INvDsAllocator::~INvDsAllocator ( )
inlinevirtual

Definition at line 32 of file 9.0/sources/includes/INvDsAllocator.h.

Member Function Documentation

◆ Allocate() [1/2]

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

Allocate memory of @size Bytes.

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

Implemented in NvDsMemoryAllocator, and NvDsMemoryAllocator.

◆ Allocate() [2/2]

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

Allocate memory of @size Bytes.

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

Implemented in NvDsMemoryAllocator, and NvDsMemoryAllocator.

◆ Deallocate() [1/2]

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

Deallocate the memory allocated using Allocate()

Parameters
data[IN] The Memory buffer handle

Implemented in NvDsMemoryAllocator, and NvDsMemoryAllocator.

◆ Deallocate() [2/2]

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

Deallocate the memory allocated using Allocate()

Parameters
data[IN] The Memory buffer handle

Implemented in NvDsMemoryAllocator, and NvDsMemoryAllocator.


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