NVIDIA DeepStream SDK API Reference

6.4 Release
ds3d::CustomLibFactory Class Reference

Detailed Description

Definition at line 32 of file custom_lib_factory.h.

Public Member Functions

 CustomLibFactory ()=default
 
 ~CustomLibFactory ()
 
template<class CustomRefCtx >
CustomRefCtx * CreateCtx (const std::string &libName, const std::string &symName)
 

Data Fields

void * _libHandle = nullptr
 
std::string _libName
 

Constructor & Destructor Documentation

◆ CustomLibFactory()

ds3d::CustomLibFactory::CustomLibFactory ( )
default

◆ ~CustomLibFactory()

ds3d::CustomLibFactory::~CustomLibFactory ( )
inline

Definition at line 36 of file custom_lib_factory.h.

References _libHandle.

Member Function Documentation

◆ CreateCtx()

template<class CustomRefCtx >
CustomRefCtx* ds3d::CustomLibFactory::CreateCtx ( const std::string &  libName,
const std::string &  symName 
)
inline

Definition at line 44 of file custom_lib_factory.h.

References _libHandle, _libName, ds3d::dlsym_ptr(), DS3D_FAILED_RETURN, and LOG_INFO.

Field Documentation

◆ _libHandle

void* ds3d::CustomLibFactory::_libHandle = nullptr

Definition at line 73 of file custom_lib_factory.h.

Referenced by CreateCtx(), and ~CustomLibFactory().

◆ _libName

std::string ds3d::CustomLibFactory::_libName

Definition at line 74 of file custom_lib_factory.h.

Referenced by CreateCtx().


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