|
NVIDIA NvNeural SDK
2021.1
GPU inference framework for NVIDIA Nsight Deep Learning Designer
|
Disables log messages when the object refcount changes. More...
#include <nvneural/RefObject.h>
Classes | |
| struct | BaseType |
| No base types are provided by this trait. More... | |
Static Public Member Functions | |
| template<typename TObject > | |
| static const void * | querySingleInterface (IRefObject::TypeId, const TObject *) |
| No interfaces are provided by this trait. | |
| template<typename TObject > | |
| static void * | querySingleInterface (IRefObject::TypeId, TObject *) |
| No interfaces are provided by this trait. | |
Static Public Attributes | |
| static const bool | EnableLogging = false |
| Prevents logging messages. | |
Disables log messages when the object refcount changes.
Without this trait: addRef and release write verbosity-three info messages to the standard logger. This is extremely undesirable when the object in question is itself a logger, so adding this trait gives all the standard RefObjectBase conveniences without the unexpected reentrancy from -v-v-v logging.