comparison OrthancFramework/Sources/DicomParsing/DicomModification.h @ 5130:f2dcdbe05884

ResourceModification jobs can now use multiple threads
author Alain Mazy <am@osimis.io>
date Thu, 05 Jan 2023 17:24:43 +0100
parents 8638522eeda1
children 15109c3f0f7d
comparison
equal deleted inserted replaced
5128:ede035d48b8e 5130:f2dcdbe05884
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>
27 28
28 #include <list> 29 #include <list>
29 30
30 31
31 namespace Orthanc 32 namespace Orthanc
124 typedef std::list<DicomPath> ListOfPaths; 125 typedef std::list<DicomPath> ListOfPaths;
125 typedef std::list<SequenceReplacement*> SequenceReplacements; 126 typedef std::list<SequenceReplacement*> SequenceReplacements;
126 127
127 typedef std::map< std::pair<ResourceType, std::string>, std::string> UidMap; 128 typedef std::map< std::pair<ResourceType, std::string>, std::string> UidMap;
128 129
130 mutable boost::recursive_mutex uidMapMutex_;
129 SetOfTags removals_; 131 SetOfTags removals_;
130 SetOfTags clearings_; 132 SetOfTags clearings_;
131 Replacements replacements_; 133 Replacements replacements_;
132 bool removePrivateTags_; 134 bool removePrivateTags_;
133 ResourceType level_; 135 ResourceType level_;