NVIDIA NvNeural SDK  2022.2
GPU inference framework for NVIDIA Nsight Deep Learning Designer
nvneural::refobj::PublicBase< TBaseType > Struct Template Referencefinal

Helper class for RefObjectBase indicating direct inheritance without providing interfaces. More...

#include <nvneural/RefObject.h>

Public Types

using BaseType = TBaseType
 Provide TBaseType as a base type. More...
 

Static Public Member Functions

Helper functions for queryInterface

These functions are not connected to the base class implementation.

template<typename TObject >
static void * querySingleInterface (IRefObject::TypeId, TObject *)
 Non-const querySingleInterface implementation. Returns nullptr.
 
template<typename TObject >
static const void * querySingleInterface (IRefObject::TypeId, const TObject *)
 Const querySingleInterface implementation. Returns nullptr.
 

Static Public Attributes

static const bool EnableLogging = true
 This trait normally allows lifecycle logging.
 

Detailed Description

template<typename TBaseType>
struct nvneural::refobj::PublicBase< TBaseType >

Helper class for RefObjectBase indicating direct inheritance without providing interfaces.

Include this in the RefObjectBase parameter list; your resulting object will derive publicly from TBaseType but will not present any of its interfaces.

Use IndirectlyImplements to reassert the interfaces you wish to present.

Template Parameters
TBaseTypeBase class to inherit from

Member Typedef Documentation

◆ BaseType

template<typename TBaseType >
using nvneural::refobj::PublicBase< TBaseType >::BaseType = TBaseType

Provide TBaseType as a base type.

RefObjectBase<PublicBase<TBaseType>> will inherit from TBaseType.


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