1 #ifndef WRITER_INTERFACE__HPP_INCLUDED
2 #define WRITER_INTERFACE__HPP_INCLUDED
44 (
const string& interface_name,
90 new objects::CGB_Writer_PluginManager_DllResolver
CPluginManager_DllResolver * operator()(void)
Template function to create dll resolver for interface.
virtual string GetDllNameMask(const string &, const string &driver_name=kEmptyStr, const CVersionInfo &version=CVersionInfo::kAny, EVersionLocation ver_lct=eBeforeSuffix) const
Return DLL name mask.
CGB_Writer_PluginManager_DllResolver(const string &interface_name, const string &driver_name=kEmptyStr, const CVersionInfo &version=CVersionInfo::kAny, CDll::EAutoUnload unload_dll=CDll::eNoAutoUnload)
virtual string GetDllName(const string &, const string &driver_name=kEmptyStr, const CVersionInfo &version=CVersionInfo::kAny) const
Return dll file name.
Service class for DLLs resolution.
EAutoUnload
Whether to unload DLL in the destructor.
virtual void SetDllNamePrefix(const string &prefix)
Set DLL file name prefix.
virtual string GetDllNameMask(const string &interface_name, const string &driver_name=kEmptyStr, const CVersionInfo &version=CVersionInfo::kAny, EVersionLocation ver_lct=eBeforeSuffix) const
Return DLL name mask.
virtual string GetDllName(const string &interface_name, const string &driver_name=kEmptyStr, const CVersionInfo &version=CVersionInfo::kAny) const
Return dll file name.
#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.
Plugin manager (using class factory paradigm).
NCBI_DECLARE_INTERFACE_VERSION(objects::CWriter, "xwriter", 6, 1, 0)