Mercurial > hg > orthanc
comparison OrthancServer/Sources/ServerJobs/ResourceModificationJob.h @ 5141:023569e7155b
moved DicomModification thread safety into ResourceModificationJob (trying to avoid mutex in OrthancFramework as much as possible)
author | Alain Mazy <am@osimis.io> |
---|---|
date | Fri, 20 Jan 2023 18:10:42 +0100 |
parents | 15109c3f0f7d |
children | 02cfd23a556a |
comparison
equal
deleted
inserted
replaced
5140:b2b38f9fb9d1 | 5141:023569e7155b |
---|---|
85 | 85 |
86 void SetOrigin(const DicomInstanceOrigin& origin); | 86 void SetOrigin(const DicomInstanceOrigin& origin); |
87 | 87 |
88 void SetOrigin(const RestApiCall& call); | 88 void SetOrigin(const RestApiCall& call); |
89 | 89 |
90 const DicomModification& GetModification() const; | |
91 | |
92 bool IsAnonymization() const | 90 bool IsAnonymization() const |
93 { | 91 { |
94 return isAnonymization_; | 92 return isAnonymization_; |
95 } | 93 } |
96 | 94 |
127 virtual bool Serialize(Json::Value& value) ORTHANC_OVERRIDE; | 125 virtual bool Serialize(Json::Value& value) ORTHANC_OVERRIDE; |
128 | 126 |
129 virtual void Reset() ORTHANC_OVERRIDE; | 127 virtual void Reset() ORTHANC_OVERRIDE; |
130 | 128 |
131 void PerformSanityChecks(); | 129 void PerformSanityChecks(); |
130 | |
131 #if ORTHANC_BUILD_UNIT_TESTS == 1 | |
132 const DicomModification& GetModification() const; | |
133 #endif | |
132 }; | 134 }; |
133 } | 135 } |