FOSSredder 0.5.0
Loading...
Searching...
No Matches
application/import/ImportRequest.h
Go to the documentation of this file.
1
5
6#pragma once
7
8#include <atomic>
9#include <functional>
10#include <memory>
11#include <string>
12
13namespace core { namespace jobs { class Scheduler; class SlotLimiter; } }
14
16
21 std::string sourcePath;
22 std::string runRoot;
23 std::string runIdPrefix;
24 std::string jobId;
25 std::function<void(double, const std::string&)> progressCallback;
26 std::shared_ptr<std::atomic<bool>> cancelFlag;
27 std::shared_ptr<std::atomic<bool>> pauseFlag;
30};
31
32}
Runs background tasks on a bounded worker queue.
Definition Scheduler.h:55
Limits concurrent access to a bounded number of slots.
Definition Scheduler.h:27
std::function< void(double, const std::string &)> progressCallback