Skip to content

HOCR_SDK_CPU_CreateArgoSDK

Included header

#include <HOCR_SDK_CPU.h>

Description

API that creates an 'ArgoEngineApi' object with required information. Initialization is not performed here; use one of the following APIs to initialize:

The created object is passed as a handle when calling each API, and after all usage it must be released with the API below.

HOCR_SDK_CPU_CreateArgoSDK()

void* HOCR_SDK_CPU_CreateArgoSDK(char* licensePath, char* engineLibDirPath, char* logFilePath)
Parameters
NameTypeDescription
licensePathchar*

Runtime license file path

engineLibDirPathchar*

Path to the engine module libraries

logFilePathchar*

Directory path to create log files (the path must exist)

Return value

void*: 'ArgoEngineApi' object

Examples

std::string runtimeLicensePath = "../bin64/Hancom.trial.license";
std::string engineLibPath = "../bin64/libs/CPU/modulelibs";
std::string logFilePath = "./logs";

void* obj = nullptr;
obj = HOCR_SDK_CPU_CreateArgoSDK(
runtimeLicensePath.data(),
engineLibPath.data(),
logFilePath.data()
);