Fix finish job
Fix initial position
This commit is contained in:
parent
081a398cee
commit
d624940b7a
4 changed files with 19 additions and 3 deletions
|
@ -33,8 +33,16 @@ public:
|
|||
// when volume_ptr == nullptr && object_idx < 0 than new object will be created
|
||||
int object_idx;
|
||||
};
|
||||
EmbossJob();
|
||||
EmbossJob();
|
||||
~EmbossJob();// cancel work and join
|
||||
|
||||
void restart(const Data &data);
|
||||
|
||||
// do not allow Job::start
|
||||
bool join(int timeout_ms = 0) { return Job::join(timeout_ms); };
|
||||
bool is_running() const { return Job::is_running(); }
|
||||
void cancel() { Job::cancel(); }
|
||||
|
||||
protected:
|
||||
// Launched just before start(), a job can use it to prepare internals
|
||||
virtual void prepare() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue