TensorRT 10.0.1
nvinfer1::v_1_0::IPluginV3 Class Referenceabstract

#include <NvInferRuntime.h>

Inheritance diagram for nvinfer1::v_1_0::IPluginV3:
nvinfer1::IVersionedInterface

Public Member Functions

InterfaceInfo getInterfaceInfo () const noexcept override
 Return version information associated with this interface. Applications must not override this method. More...
 
virtual IPluginCapabilitygetCapabilityInterface (PluginCapabilityType type) noexcept=0
 Return a pointer to plugin object implementing the specified PluginCapabilityType. More...
 
virtual IPluginV3clone () noexcept=0
 Clone the plugin object. This copies over internal plugin parameters and returns a new plugin object with these parameters. The cloned object must be in a fully initialized state. More...
 
- Public Member Functions inherited from nvinfer1::IVersionedInterface
virtual APILanguage getAPILanguage () const noexcept
 The language used to build the implementation of this Interface. More...
 
virtual ~IVersionedInterface () noexcept=default
 

Additional Inherited Members

- Protected Member Functions inherited from nvinfer1::IVersionedInterface
 IVersionedInterface ()=default
 
 IVersionedInterface (IVersionedInterface const &)=default
 
 IVersionedInterface (IVersionedInterface &&)=default
 
IVersionedInterfaceoperator= (IVersionedInterface const &) &=default
 
IVersionedInterfaceoperator= (IVersionedInterface &&) &=default
 

Member Function Documentation

◆ clone()

virtual IPluginV3 * nvinfer1::v_1_0::IPluginV3::clone ( )
pure virtualnoexcept

Clone the plugin object. This copies over internal plugin parameters and returns a new plugin object with these parameters. The cloned object must be in a fully initialized state.

Note
The cloned object must return valid objects through getCapabilityInterface() for at least the same PluginCapabilityTypes as the original object.
Returns
A cloned plugin object in an initialized state with the same parameters as the current object. nullptr must be returned if the cloning fails.

◆ getCapabilityInterface()

virtual IPluginCapability * nvinfer1::v_1_0::IPluginV3::getCapabilityInterface ( PluginCapabilityType  type)
pure virtualnoexcept

Return a pointer to plugin object implementing the specified PluginCapabilityType.

Note
IPluginV3 objects added for the build phase (through addPluginV3()) must return valid objects for PluginCapabilityType::kCORE, PluginCapabilityType::kBUILD and PluginCapabilityType::kRUNTIME.
IPluginV3 objects added for the runtime phase must return valid objects for PluginCapabilityType::kCORE and PluginCapabilityType::kRUNTIME.
See also
TensorRTPhase
IPluginCreatorV3One::createPlugin()

◆ getInterfaceInfo()

InterfaceInfo nvinfer1::v_1_0::IPluginV3::getInterfaceInfo ( ) const
inlineoverridevirtualnoexcept

Return version information associated with this interface. Applications must not override this method.

Implements nvinfer1::IVersionedInterface.


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

  Copyright © 2024 NVIDIA Corporation
  Privacy Policy | Manage My Privacy | Do Not Sell or Share My Data | Terms of Service | Accessibility | Corporate Policies | Product Security | Contact