#include <NvInferRuntime.h>
◆ IPluginCreatorV3One() [1/3]
| nvinfer1::v_1_0::IPluginCreatorV3One::IPluginCreatorV3One |
( |
| ) |
|
|
default |
◆ ~IPluginCreatorV3One()
| virtual nvinfer1::v_1_0::IPluginCreatorV3One::~IPluginCreatorV3One |
( |
| ) |
|
|
virtualdefault |
◆ IPluginCreatorV3One() [2/3]
◆ IPluginCreatorV3One() [3/3]
◆ createPlugin()
Return a plugin object. Return nullptr in case of error.
- Parameters
-
| name | A NULL-terminated name string of length 1024 or less, including the NULL terminator. |
| fc | A pointer to a collection of fields needed for constructing the plugin. |
| phase | The TensorRT phase in which the plugin is being created |
When the phase is TensorRTPhase::kRUNTIME, the PluginFieldCollection provided for serialization by the plugin's runtime interface will be passed as fc.
- Note
- The returned plugin object must be in an initialized state
-
If invoked by the user (e.g. with TensorRTPhase::kBUILD, to add to the network defintion with addPluginV3()), it is the user's responsibility to delete the plugin object. If invoked by TensorRT (e.g. during engine deserialization), TensorRT will delete any objects it creates.
◆ getFieldNames()
◆ getInterfaceInfo()
| InterfaceInfo nvinfer1::v_1_0::IPluginCreatorV3One::getInterfaceInfo |
( |
| ) |
const |
|
inlineoverridevirtualnoexcept |
◆ getPluginName()
| virtual AsciiChar const * nvinfer1::v_1_0::IPluginCreatorV3One::getPluginName |
( |
| ) |
const |
|
pure virtualnoexcept |
Return the plugin name.
- Warning
- The string returned must be NULL-terminated and have a length of 1024 bytes or less including the NULL terminator.
◆ getPluginNamespace()
| virtual AsciiChar const * nvinfer1::v_1_0::IPluginCreatorV3One::getPluginNamespace |
( |
| ) |
const |
|
pure virtualnoexcept |
Return the plugin namespace.
- Warning
- The string returned must be NULL-terminated and have a length of 1024 bytes or less including the NULL terminator.
◆ getPluginVersion()
| virtual AsciiChar const * nvinfer1::v_1_0::IPluginCreatorV3One::getPluginVersion |
( |
| ) |
const |
|
pure virtualnoexcept |
Return the plugin version.
- Warning
- The string returned must be NULL-terminated and have a length of 1024 bytes or less including the NULL terminator.
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this class was generated from the following file: