Mercurial > hg > orthanc
comparison OrthancFramework/Sources/DicomParsing/DicomModification.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 | 0ea402b4d901 |
comparison
equal
deleted
inserted
replaced
5140:b2b38f9fb9d1 | 5141:023569e7155b |
---|---|
22 | 22 |
23 | 23 |
24 #pragma once | 24 #pragma once |
25 | 25 |
26 #include "ParsedDicomFile.h" | 26 #include "ParsedDicomFile.h" |
27 #include <boost/thread/recursive_mutex.hpp> | |
28 | 27 |
29 #include <list> | 28 #include <list> |
30 | 29 |
31 | 30 |
32 namespace Orthanc | 31 namespace Orthanc |
125 typedef std::list<DicomPath> ListOfPaths; | 124 typedef std::list<DicomPath> ListOfPaths; |
126 typedef std::list<SequenceReplacement*> SequenceReplacements; | 125 typedef std::list<SequenceReplacement*> SequenceReplacements; |
127 | 126 |
128 typedef std::map< std::pair<ResourceType, std::string>, std::string> UidMap; | 127 typedef std::map< std::pair<ResourceType, std::string>, std::string> UidMap; |
129 | 128 |
130 mutable boost::recursive_mutex uidMapMutex_; | |
131 SetOfTags removals_; | 129 SetOfTags removals_; |
132 SetOfTags clearings_; | 130 SetOfTags clearings_; |
133 SetOfTags keep_; | 131 SetOfTags keep_; |
134 Replacements replacements_; | 132 Replacements replacements_; |
135 bool removePrivateTags_; | 133 bool removePrivateTags_; |