NVIDIA DeepStream SDK API Reference

7.0 Release
INvDsAllocator.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2020 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 
13 #ifndef _NVDS_ALLOCATOR_H_
14 #define _NVDS_ALLOCATOR_H_
15 
16 #include <stdint.h>
17 
19 {
20  public:
26  virtual void* Allocate (uint32_t size) = 0;
31  virtual void Deallocate (void* data) = 0;
32  virtual ~INvDsAllocator() {}
33 };
34 
35 #endif
INvDsAllocator::~INvDsAllocator
virtual ~INvDsAllocator()
Definition: INvDsAllocator.h:32
INvDsAllocator
Definition: INvDsAllocator.h:18
INvDsAllocator::Deallocate
virtual void Deallocate(void *data)=0
Deallocate the memory allocated using Allocate()
INvDsAllocator::Allocate
virtual void * Allocate(uint32_t size)=0
Allocate memory of @size Bytes.