Mercurial > hg > orthanc
comparison OrthancFramework/Sources/JobsEngine/SetOfInstancesJob.h @ 4202:2007ab69ac16
moving ORTHANC_FORCE_INLINE and ORTHANC_OVERRIDE from Enumerations.h to Compatibility.h
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 17 Sep 2020 08:35:11 +0200 |
parents | bf7b9edf6b81 |
children | 50b0c69b653a |
comparison
equal
deleted
inserted
replaced
4201:2d5209153b32 | 4202:2007ab69ac16 |
---|---|
49 using SetOfCommandsJob::AddCommand; | 49 using SetOfCommandsJob::AddCommand; |
50 | 50 |
51 public: | 51 public: |
52 SetOfInstancesJob(); | 52 SetOfInstancesJob(); |
53 | 53 |
54 SetOfInstancesJob(const Json::Value& source); // Unserialization | 54 explicit SetOfInstancesJob(const Json::Value& source); // Unserialization |
55 | 55 |
56 // Only used for reporting in the public content | 56 // Only used for reporting in the public content |
57 // https://groups.google.com/d/msg/orthanc-users/9GCV88GLEzw/6wAgP_PRAgAJ | 57 // https://groups.google.com/d/msg/orthanc-users/9GCV88GLEzw/6wAgP_PRAgAJ |
58 void AddParentResource(const std::string& resource) | 58 void AddParentResource(const std::string& resource) |
59 { | 59 { |
81 bool IsFailedInstance(const std::string& instance) const | 81 bool IsFailedInstance(const std::string& instance) const |
82 { | 82 { |
83 return failedInstances_.find(instance) != failedInstances_.end(); | 83 return failedInstances_.find(instance) != failedInstances_.end(); |
84 } | 84 } |
85 | 85 |
86 virtual void Start(); | 86 virtual void Start() ORTHANC_OVERRIDE; |
87 | 87 |
88 virtual void Reset(); | 88 virtual void Reset() ORTHANC_OVERRIDE; |
89 | 89 |
90 virtual void GetPublicContent(Json::Value& target); | 90 virtual void GetPublicContent(Json::Value& target) ORTHANC_OVERRIDE; |
91 | 91 |
92 virtual bool Serialize(Json::Value& target); | 92 virtual bool Serialize(Json::Value& target) ORTHANC_OVERRIDE; |
93 }; | 93 }; |
94 } | 94 } |