mirror of
https://github.com/QIDITECH/QIDIStudio.git
synced 2026-02-07 04:11:50 +03:00
Updated to 1.9.5, and optimize calibration and device
This commit is contained in:
@@ -423,7 +423,9 @@ public:
|
||||
// After calling the apply() function, call set_task() to limit the task to be processed by process().
|
||||
virtual void set_task(const TaskParams ¶ms) {}
|
||||
// Perform the calculation. This is the only method that is to be called at a worker thread.
|
||||
virtual void process(long long *time_cost_with_cache = nullptr, bool use_cache = false) = 0;
|
||||
|
||||
//1.9.5
|
||||
virtual void process(std::unordered_map<std::string, long long>* slice_time = nullptr, bool use_cache = false) = 0;
|
||||
virtual int export_cached_data(const std::string& dir_path, bool with_space=false) { return 0;}
|
||||
virtual int load_cached_data(const std::string& directory) { return 0;}
|
||||
// Clean up after process() finished, either with success, error or if canceled.
|
||||
|
||||
Reference in New Issue
Block a user