|
TensorRT 11.2.1
|
A virtual base class to find a logger. Allows a plugin to find an instance of a logger if it needs to emit a log message. A pointer to an instance of this class is passed to a plugin shared library on initialization when that plugin is serialized as part of a version-compatible plan. See the plugin chapter in the developer guide for details. More...
#include <NvInferRuntime.h>
Public Member Functions | |
| InterfaceInfo | getInterfaceInfo () const noexcept override |
| Return version information associated with this interface. Applications must not override this method. More... | |
| virtual ILogger * | findLogger ()=0 |
| Get the logger used by the engine or execution context which called the plugin method. 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 |
Protected Member Functions | |
| ~ILoggerFinder () override=default | |
| Protected: TRT owns ILoggerFinder instances and passes non-owning pointers to plugins. More... | |
Protected Member Functions inherited from nvinfer1::IVersionedInterface | |
| IVersionedInterface ()=default | |
| IVersionedInterface (IVersionedInterface const &)=default | |
| IVersionedInterface (IVersionedInterface &&)=default | |
| IVersionedInterface & | operator= (IVersionedInterface const &) &=default |
| IVersionedInterface & | operator= (IVersionedInterface &&) &=default |
A virtual base class to find a logger. Allows a plugin to find an instance of a logger if it needs to emit a log message. A pointer to an instance of this class is passed to a plugin shared library on initialization when that plugin is serialized as part of a version-compatible plan. See the plugin chapter in the developer guide for details.
|
overrideprotecteddefault |
Protected: TRT owns ILoggerFinder instances and passes non-owning pointers to plugins.
|
pure virtual |
Get the logger used by the engine or execution context which called the plugin method.
|
inlineoverridevirtualnoexcept |
Return version information associated with this interface. Applications must not override this method.
Implements nvinfer1::IVersionedInterface.
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