NCBI C++ ToolKit
Public Types | Static Public Member Functions | List of all members
CPluginManagerStore::CPMMaker< TInterface > Struct Template Reference

Search Toolkit Book for CPluginManagerStore::CPMMaker

Utility class to get plugin manager from the store If it is not there, class will create and add new instance to the store. More...

#include <corelib/plugin_manager_store.hpp>

Public Types

typedef CPluginManager< TInterface > TPluginManager
 

Static Public Member Functions

static CPluginManager< TInterface > * Get (void)
 
static CPluginManager< TInterface > * Get (const string &pm_name)
 

Detailed Description

template<class TInterface>
struct CPluginManagerStore::CPMMaker< TInterface >

Utility class to get plugin manager from the store If it is not there, class will create and add new instance to the store.

Note
Created plugin manager should be considered under-constructed since it has no regisitered entry points or dll resolver.

Definition at line 115 of file plugin_manager_store.hpp.

Member Typedef Documentation

◆ TPluginManager

template<class TInterface >
typedef CPluginManager<TInterface> CPluginManagerStore::CPMMaker< TInterface >::TPluginManager

Definition at line 117 of file plugin_manager_store.hpp.

Member Function Documentation

◆ Get() [1/2]

template<class TInterface >
static CPluginManager<TInterface>* CPluginManagerStore::CPMMaker< TInterface >::Get ( const string pm_name)
inlinestatic
Parameters
pm_nameStorage name for plugin manager

Definition at line 128 of file plugin_manager_store.hpp.

References CPluginManagerGetter< Interface >::Get().

◆ Get() [2/2]

template<class TInterface >
static CPluginManager<TInterface>* CPluginManagerStore::CPMMaker< TInterface >::Get ( void  )
inlinestatic

The documentation for this struct was generated from the following file:
Modified on Sun Apr 14 05:27:23 2024 by modify_doxy.py rev. 669887