Mercurial > hg > orthanc
comparison Core/JobsEngine/Operations/SequenceOfOperationsJob.h @ 2666:2540ac79ab6c jobs
SequenceOfOperationsJob serialization
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 08 Jun 2018 15:05:32 +0200 |
parents | 228e2783ce83 |
children | 7cfc8d266f41 |
comparison
equal
deleted
inserted
replaced
2665:389d050a2e66 | 2666:2540ac79ab6c |
---|---|
72 TimeoutDicomConnectionManager connectionManager_; | 72 TimeoutDicomConnectionManager connectionManager_; |
73 | 73 |
74 public: | 74 public: |
75 SequenceOfOperationsJob(); | 75 SequenceOfOperationsJob(); |
76 | 76 |
77 SequenceOfOperationsJob(IJobUnserializer& unserializer, | |
78 const Json::Value& serialized); | |
79 | |
77 virtual ~SequenceOfOperationsJob(); | 80 virtual ~SequenceOfOperationsJob(); |
78 | 81 |
79 void SetDescription(const std::string& description); | 82 void SetDescription(const std::string& description); |
83 | |
84 void GetDescription(std::string& description); | |
80 | 85 |
81 void Register(IObserver& observer); | 86 void Register(IObserver& observer); |
82 | 87 |
83 // This lock allows adding new operations to the end of the job, | 88 // This lock allows adding new operations to the end of the job, |
84 // from another thread than the worker thread, after the job has | 89 // from another thread than the worker thread, after the job has |