TensorRT
5.1.5.0
|
Single registration point for all plugins in an application. It is used to find plugin implementations during engine deserialization. Internally, the plugin registry is considered to be a singleton so all plugins in an application are part of the same global registry. Note that the plugin registry is only supported for plugins of type IPluginV2 and should also have a corresponding IPluginCreator implementation. More...
#include <NvInfer.h>
Public Member Functions | |
virtual bool | registerCreator (IPluginCreator &creator, const char *pluginNamespace)=0 |
Register a plugin creator. Returns false if one with same type is already registered. | |
virtual IPluginCreator *const * | getPluginCreatorList (int *numCreators) const =0 |
Return all the registered plugin creators and the number of registered plugin creators. Returns nullptr if none found. | |
virtual IPluginCreator * | getPluginCreator (const char *pluginType, const char *pluginVersion, const char *pluginNamespace="")=0 |
Return plugin creator based on plugin type, version and namespace associated with plugin during network creation. | |
Single registration point for all plugins in an application. It is used to find plugin implementations during engine deserialization. Internally, the plugin registry is considered to be a singleton so all plugins in an application are part of the same global registry. Note that the plugin registry is only supported for plugins of type IPluginV2 and should also have a corresponding IPluginCreator implementation.