Mercurial > hg > orthanc
diff Core/JobsEngine/SetOfInstancesJob.h @ 2624:714dcddeb65f jobs
asynchronous c-movoe
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 24 May 2018 21:44:22 +0200 |
parents | 34dc57f4a7d2 |
children | c691fcf66071 |
line wrap: on
line diff
--- a/Core/JobsEngine/SetOfInstancesJob.h Wed May 23 14:28:25 2018 +0200 +++ b/Core/JobsEngine/SetOfInstancesJob.h Thu May 24 21:44:22 2018 +0200 @@ -47,6 +47,7 @@ bool permissive_; size_t position_; std::set<std::string> failedInstances_; + std::string description_; protected: virtual bool HandleInstance(const std::string& instance) = 0; @@ -54,6 +55,16 @@ public: SetOfInstancesJob(); + void SetDescription(const std::string& description) + { + description_ = description; + } + + const std::string& GetDescription() const + { + return description_; + } + void Reserve(size_t size); size_t GetInstancesCount() const