|
|
using | ProgressCallback = std::function< void(float progress, const std::string &status, const json &data)> |
| |
|
using | CompletionCallback = std::function< void(const json &result)> |
| |
|
|
bool | start (const std::string &algorithmPath, const json &inputData, const json &config, ProgressCallback progressCb=nullptr, CompletionCallback completionCb=nullptr, int timeoutSeconds=300) |
| |
|
void | stop () |
| |
|
bool | isRunning () const |
| |
|
float | getProgress () const |
| |
|
std::string | getStatus () const |
| |
|
json | getResult () const |
| |
The documentation for this class was generated from the following files: