15 #ifndef __IPSDKCORE_LIBRARYINITIALIZER_H__ 16 #define __IPSDKCORE_LIBRARYINITIALIZER_H__ 21 #pragma warning (push) 22 #pragma warning (disable : 4275 4251) 25 #include <IPSDKCore/Config/Local/LocalConfigurationTypes.h> 28 #include <IPSDKUtil/Tools/ProcessingResult.h> 29 #include <boost/noncopyable.hpp> 34 class LibraryUserConfiguration;
70 LibInitResult init(
const LibraryUserConfiguration& libraryUserConfiguration,
const bool bActivateGpuSupport =
true,
const bool bFromPython =
false,
const boost::filesystem::path& licenseFilePath =
"");
74 const boost::filesystem::path& getLocalProcessingPolicyFilePath()
const;
78 const boost::filesystem::path& getDistributedProcessingPolicyFilePath()
const;
82 const boost::filesystem::path& getNetworkDescriptionFilePath()
const;
86 const boost::filesystem::path& getLicenseFilePath()
const;
93 void registerDiskImage(
const boost::filesystem::path& filePath);
96 void unRegisterDiskImage(
const boost::filesystem::path& filePath);
118 void clearInternal();
163 #pragma warning (pop) 165 #endif // __IPSDKCORE_LIBRARYINITIALIZER_H__ bool _bInit
object initialization flag
Definition: LibraryInitializer.h:138
std::vector< boost::filesystem::path > _vDiskImgPaths
Definition: LibraryInitializer.h:145
eLocalProcessorType _localProcessorType
local computer processor type
Definition: LibraryInitializer.h:135
Class allowing to encapsulate a typed process result associated to a string description.
Definition: ProcessingResult.h:28
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
eLocalProcessorType
Definition: LocalConfigurationTypes.h:32
boost::filesystem::path _licenseFilePath
license file path used for initialization
Definition: LibraryInitializer.h:132
Definition of import/export macro for library.
#define IPSDKCORE_API
Import/Export macro for library IPSDKCore.
Definition: IPSDKCoreExports.h:27
bool isInit() const
retrieve object initialization flag
Definition: LibraryInitializer.h:152
Base types for multiplatform compatibility.
Predefined types for library initializer management.
std::string _preInitParamStr
Parameter of pre-initialization step.
Definition: LibraryInitializer.h:141
boost::filesystem::path _distributedProcessingPolicyFilePath
distributed processing policy file path used for initialization
Definition: LibraryInitializer.h:126
boost::filesystem::path _localProcessingPolicyFilePath
local processing policy file path used for initialization
Definition: LibraryInitializer.h:123
User configuration for IPSDK library.
Definition: LibraryUserConfiguration.h:33
Singleton instance used to initialized IPSDK library features.
Definition: LibraryInitializer.h:39
boost::filesystem::path _networkDescriptionFilePath
network description file path used for initialization
Definition: LibraryInitializer.h:129