TensorRT 8.4.0
nvinfer1::PluginRegistrar< T > Class Template Reference

Register the plugin creator to the registry The static registry object will be instantiated when the plugin library is loaded. This static object will register all creators available in the library to the registry. More...

#include <NvInferRuntime.h>

Public Member Functions

 PluginRegistrar ()
 

Detailed Description

template<typename T>
class nvinfer1::PluginRegistrar< T >

Register the plugin creator to the registry The static registry object will be instantiated when the plugin library is loaded. This static object will register all creators available in the library to the registry.

Warning
Statically registering plugins should be avoided in the automotive safety context as the application developer should first register an error recorder with the plugin registry via IPluginRegistry::setErrorRecorder() before using IPluginRegistry::registerCreator() or other methods.

Constructor & Destructor Documentation

◆ PluginRegistrar()

template<typename T >
nvinfer1::PluginRegistrar< T >::PluginRegistrar ( )
inline

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