15 #ifndef __IPSDKUTIL_SYSTEMAPI_H__ 16 #define __IPSDKUTIL_SYSTEMAPI_H__ 55 loadLibrary(
const boost::filesystem::path& filePath);
91 displayHtml(
const boost::filesystem::path& filePath);
156 const std::string& cmdArgs,
169 const std::string& cmdArgs,
170 std::string& stdOutStr);
177 #endif // __IPSDKUTIL_SYSTEMAPI_H__ Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
IPSDKUTIL_API std::string getPlatformLibraryName(const std::string &baseName)
retrieve full ipsdk (platform dependent) library name from its base name
IPSDKUTIL_API std::string getPlatformBinaryDirPostFix()
retrieve platform dependent binary directory post fix. Example : msvc11_x64, linux_x64, ...
IPSDKUTIL_API bool isDebugConfig()
retrieve debug flag
IPSDKUTIL_API BoolResult getUserRootDataDir(boost::filesystem::path &dataPath)
retrieve root user data directory
int32_t ipInt32
Base types definition.
Definition: BaseTypes.h:52
IPSDKUTIL_API std::string getPlatformExecName(const std::string &baseName)
retrieve full ipsdk (platform dependent) executable name from its base name
IPSDKUTIL_API std::string getLastError(ipInt32 errorCode)
function allowing to retrieve error string from value
IPSDKUTIL_API BoolResult getApplicationDir(boost::filesystem::path &appDir)
retrieve application directory
IPSDKUTIL_API std::string getHostName()
retrieve local host name
IPSDKUTIL_API BoolResult loadLibrary(const boost::filesystem::path &filePath)
load library given its path
IPSDKUTIL_API std::string getPlatformBinaryName(const std::string &baseName)
retrieve full ipsdk (platform dependent) binary name from its base name
Base types for multiplatform compatibility.
IPSDKUTIL_API std::string getOSName()
retrieve full operating system name
IPSDKUTIL_API BoolResult getApplicationName(std::string &appName)
retrieve application name
IPSDKUTIL_API BoolResult displayHtml(const boost::filesystem::path &filePath)
display html file through default browser
IPSDKUTIL_API BoolResult addLibraryDirectory(const boost::filesystem::path &dirPath)
add a library directory for library delay load search
#define IPSDKUTIL_API
Import/Export macro for library IPSDKUtil.
Definition: IPSDKUtilExports.h:27
IPSDKUTIL_API BoolResult getCommonRootDataDir(boost::filesystem::path &dataPath)
retrieve root common (all users) data directory
Definition of import/export macro for library.
IPSDKUTIL_API BoolResult createProcess(const boost::filesystem::path &execPath, const std::string &cmdArgs, const ipUInt32 timeout, ipInt32 &exitCode)
IPSDKUTIL_API BoolResult getUserLibraryDataDir(boost::filesystem::path &dataPath)
retrieve library user data directory
ProcessingResult< bool > BoolResult
typedef for boolean results associated to a string description
Definition: ProcessingResultTypes.h:29
Predefined types for processing results management.
IPSDKUTIL_API bool is64BitsConfig()
retrieve x64 flag
IPSDKUTIL_API BoolResult getApplicationPath(boost::filesystem::path &appPath)
retrieve application path
IPSDKUTIL_API std::string getFullPlatformName()
retrieve full platform name
IPSDKUTIL_API void setThreadName(const std::string &threadName)
function allowing to set current thread name for debugging purpose
IPSDKUTIL_API std::string getPlatformName()
retrieve platform name
IPSDKUTIL_API BoolResult getCommonLibraryDataDir(boost::filesystem::path &dataPath)
retrieve library common data directory
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53