Go to the SVN repository for this file.
1 #ifndef DATA_LOADER_FACTORY__HPP 2 #define DATA_LOADER_FACTORY__HPP 53 #define kCFParam_ObjectManagerPtr "ObjectManagerPtr" 55 #define kCFParam_DataLoader_Priority "DataLoader_Priority" 58 #define kCFParam_DataLoader_IsDefault "DataLoader_IsDefault" 102 template<
classTDataLoader>
120 returnTDataLoader::RegisterInObjectManager(
CVersionInfo m_DriverVersionInfo
IClassFactory< CDataLoader > TParent
CObjectManager::TPriority GetPriority(const TPluginManagerParamTree *params) const
const string & GetDriverName(void) const
TParent::SDriverInfo TDriverInfo
CObjectManager::EIsDefault GetIsDefault(const TPluginManagerParamTree *params) const
virtual ~CDataLoaderFactory()
TParent::TDriverList TDriverList
virtual CDataLoader * CreateAndRegister(CObjectManager &om, const TPluginManagerParamTree *params) const =0
virtual CDataLoader * CreateAndRegister(CObjectManager &om, const TPluginManagerParamTree *params) const
CSimpleDataLoaderFactory(const string &name)
virtual ~CSimpleDataLoaderFactory()
definition of a Culling tree
Include a standard set of the NCBI C++ Toolkit most basic headers.
EIsDefault
Flag defining if the data loader is included in the "default" group.
virtual void GetDriverVersions(TDriverList &driver_list) const =0
Versions of the interface exported by the factory.
virtual TClass * CreateInstance(const string &driver=kEmptyStr, CVersionInfo version=GetDefaultDrvVers(), const TPluginManagerParamTree *params=0) const =0
Create driver's instance.
#define NCBI_INTERFACE_VERSION(iface)
Macro to construct CVersionInfo class using interface name (relies on CInterfaceVersion class)
ncbi::SDriverInfo SDriverInfo
list< SDriverInfo > TDriverList
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
#define NCBI_XOBJMGR_EXPORT
const string version
version string
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
Plugin manager (using class factory paradigm).
CRef< objects::CObjectManager > om
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4