TensorRT 10.16.1
nvinfer1::v_1_0::IPluginCreatorV3One Class Referenceabstract

#include <NvInferRuntime.h>

Inheritance diagram for nvinfer1::v_1_0::IPluginCreatorV3One:
nvinfer1::v_1_0::IPluginCreatorInterface 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 IPluginV3createPlugin (AsciiChar const *name, PluginFieldCollection const *fc, TensorRTPhase phase) noexcept=0
 Return a plugin object. Return nullptr in case of error. More...
 
virtual PluginFieldCollection const * getFieldNames () noexcept=0
 Return a list of fields that need to be passed to createPlugin() when creating a plugin for use in the TensorRT build phase. More...
 
virtual AsciiChar const * getPluginName () const noexcept=0
 Return the plugin name. More...
 
virtual AsciiChar const * getPluginVersion () const noexcept=0
 Return the plugin version. More...
 
virtual AsciiChar const * getPluginNamespace () const noexcept=0
 Return the plugin namespace. More...
 
 IPluginCreatorV3One ()=default
 
virtual ~IPluginCreatorV3One ()=default
 
- Public Member Functions inherited from nvinfer1::v_1_0::IPluginCreatorInterface
 ~IPluginCreatorInterface () noexcept override=default
 
- 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
 

Protected Member Functions

 IPluginCreatorV3One (IPluginCreatorV3One const &)=default
 
 IPluginCreatorV3One (IPluginCreatorV3One &&)=default
 
IPluginCreatorV3Oneoperator= (IPluginCreatorV3One const &) &=default
 
IPluginCreatorV3Oneoperator= (IPluginCreatorV3One &&) &=default
 
- Protected Member Functions inherited from nvinfer1::v_1_0::IPluginCreatorInterface
 IPluginCreatorInterface ()=default
 
 IPluginCreatorInterface (IPluginCreatorInterface const &)=default
 
 IPluginCreatorInterface (IPluginCreatorInterface &&)=default
 
IPluginCreatorInterfaceoperator= (IPluginCreatorInterface const &) &=default
 
IPluginCreatorInterfaceoperator= (IPluginCreatorInterface &&) &=default
 
- Protected Member Functions inherited from nvinfer1::IVersionedInterface
 IVersionedInterface ()=default
 
 IVersionedInterface (IVersionedInterface const &)=default
 
 IVersionedInterface (IVersionedInterface &&)=default
 
IVersionedInterfaceoperator= (IVersionedInterface const &) &=default
 
IVersionedInterfaceoperator= (IVersionedInterface &&) &=default
 

Constructor & Destructor Documentation

◆ IPluginCreatorV3One() [1/3]

nvinfer1::v_1_0::IPluginCreatorV3One::IPluginCreatorV3One ( )
default

◆ ~IPluginCreatorV3One()

virtual nvinfer1::v_1_0::IPluginCreatorV3One::~IPluginCreatorV3One ( )
virtualdefault

◆ IPluginCreatorV3One() [2/3]

nvinfer1::v_1_0::IPluginCreatorV3One::IPluginCreatorV3One ( IPluginCreatorV3One const &  )
protecteddefault

◆ IPluginCreatorV3One() [3/3]

nvinfer1::v_1_0::IPluginCreatorV3One::IPluginCreatorV3One ( IPluginCreatorV3One &&  )
protecteddefault

Member Function Documentation

◆ createPlugin()

virtual IPluginV3 * nvinfer1::v_1_0::IPluginCreatorV3One::createPlugin ( AsciiChar const *  name,
PluginFieldCollection const *  fc,
TensorRTPhase  phase 
)
pure virtualnoexcept

Return a plugin object. Return nullptr in case of error.

Parameters
nameA NULL-terminated name string of length 1024 or less, including the NULL terminator.
fcA pointer to a collection of fields needed for constructing the plugin.
phaseThe 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()

virtual PluginFieldCollection const * nvinfer1::v_1_0::IPluginCreatorV3One::getFieldNames ( )
pure virtualnoexcept

Return a list of fields that need to be passed to createPlugin() when creating a plugin for use in the TensorRT build phase.

See also
PluginFieldCollection

◆ getInterfaceInfo()

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

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

Implements nvinfer1::IVersionedInterface.

◆ 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]

IPluginCreatorV3One & nvinfer1::v_1_0::IPluginCreatorV3One::operator= ( IPluginCreatorV3One &&  ) &
protecteddefault

◆ operator=() [2/2]

IPluginCreatorV3One & nvinfer1::v_1_0::IPluginCreatorV3One::operator= ( IPluginCreatorV3One const &  ) &
protecteddefault

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