#include <NvInferRuntimeBase.h>
◆ ~IPluginResource()
nvinfer1::v_1_0::IPluginResource::~IPluginResource |
( |
| ) |
|
|
overridedefaultnoexcept |
◆ IPluginResource() [1/3]
nvinfer1::v_1_0::IPluginResource::IPluginResource |
( |
| ) |
|
|
default |
◆ IPluginResource() [2/3]
nvinfer1::v_1_0::IPluginResource::IPluginResource |
( |
IPluginResource const & |
| ) |
|
|
default |
◆ IPluginResource() [3/3]
◆ clone()
Clone the resource object.
- Note
- Resource initialization (if any) may be skipped for non-cloned objects since only clones will be registered by TensorRT
- Returns
- Pointer to cloned object. nullptr if there was an issue.
Usage considerations
- Allowed context for the API call
- Thread-safe: Yes; this method is required to be thread-safe and may be called from multiple threads.
◆ getInterfaceInfo()
InterfaceInfo nvinfer1::v_1_0::IPluginResource::getInterfaceInfo |
( |
| ) |
const |
|
inlineoverridevirtualnoexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ release()
virtual int32_t nvinfer1::v_1_0::IPluginResource::release |
( |
| ) |
|
|
pure virtualnoexcept |
Free the underlying resource.
This will only be called for IPluginResource objects that were produced from IPluginResource::clone()
The IPluginResource object on which release() is called must still be in a clone-able state after release() returns
- Returns
- 0 for success, else non-zero
Usage considerations
- Allowed context for the API call
- Thread-safe: No; this method is not required to be thread-safe
The documentation for this class was generated from the following file: