NVIDIA DeepStream SDK API Reference

9.2 Release
ReIDServiceFactory Class Reference

Detailed Description

Singleton factory that constructs the configured implementation.

Definition at line 87 of file sources/libs/nvmultiobjecttracker/include/modules/ReIDService/ReIDService_factory.hpp.

Collaboration diagram for ReIDServiceFactory:

Public Member Functions

std::shared_ptr< IReIDService > makeReIDService (const std::string &configFilePath)
 Construct the configured ReID service implementation. More...
 
std::shared_ptr< IReIDService > makeReIDService (const std::string &configFilePath)
 Construct the configured ReID service implementation. More...
 

Static Public Member Functions

static ReIDServiceFactory & getInstance ()
 Get the singleton factory instance. More...
 
static ReIDServiceFactory & getInstance ()
 Get the singleton factory instance. More...
 

Protected Attributes

ReIDServiceFactoryParams m_params
 Config params. More...
 

Member Function Documentation

◆ getInstance() [1/2]

static ReIDServiceFactory& ReIDServiceFactory::getInstance ( )
inlinestatic

Get the singleton factory instance.

Definition at line 91 of file sources/libs/nvmultiobjecttracker/include/modules/ReIDService/ReIDService_factory.hpp.

◆ getInstance() [2/2]

static ReIDServiceFactory& ReIDServiceFactory::getInstance ( )
inlinestatic

Get the singleton factory instance.

Definition at line 91 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/ReIDService/ReIDService_factory.hpp.

◆ makeReIDService() [1/2]

std::shared_ptr<IReIDService> ReIDServiceFactory::makeReIDService ( const std::string &  configFilePath)
inline

Construct the configured ReID service implementation.

Parameters
[in]configFilePathPath to the tracker configuration file.

Parse the module config.

Definition at line 101 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/ReIDService/ReIDService_factory.hpp.

References DUMMY_REID_SERVICE, m_params, ReIDServiceFactoryParams::m_reidServiceType, and REID_SERVICE.

◆ makeReIDService() [2/2]

std::shared_ptr<IReIDService> ReIDServiceFactory::makeReIDService ( const std::string &  configFilePath)
inline

Construct the configured ReID service implementation.

Parameters
[in]configFilePathPath to the tracker configuration file.

Parse the module config.

Definition at line 101 of file sources/libs/nvmultiobjecttracker/include/modules/ReIDService/ReIDService_factory.hpp.

References DUMMY_REID_SERVICE, m_params, ReIDServiceFactoryParams::m_reidServiceType, and REID_SERVICE.

Field Documentation

◆ m_params

ReIDServiceFactoryParams ReIDServiceFactory::m_params
protected

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