Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/Loaders/SeriesMetadataLoader.h @ 1571:85e117739eca
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 21 Sep 2020 17:46:39 +0200 |
parents | 244ad1e4e76a |
children | 4fb8fdf03314 |
comparison
equal
deleted
inserted
replaced
1570:9a04f42098a3 | 1571:85e117739eca |
---|---|
46 Series series_; | 46 Series series_; |
47 boost::shared_ptr<LoadedDicomResources> dicomDir_; | 47 boost::shared_ptr<LoadedDicomResources> dicomDir_; |
48 std::string dicomDirPath_; | 48 std::string dicomDirPath_; |
49 std::map<std::string, unsigned int> seriesSize_; | 49 std::map<std::string, unsigned int> seriesSize_; |
50 | 50 |
51 SeriesMetadataLoader(boost::shared_ptr<DicomResourcesLoader>& loader); | 51 explicit SeriesMetadataLoader(boost::shared_ptr<DicomResourcesLoader>& loader); |
52 | 52 |
53 bool IsScheduledWithHigherPriority(const std::string& seriesInstanceUid, | 53 bool IsScheduledWithHigherPriority(const std::string& seriesInstanceUid, |
54 int priority) const; | 54 int priority) const; |
55 | 55 |
56 void Handle(const DicomResourcesLoader::SuccessMessage& message); | 56 void Handle(const DicomResourcesLoader::SuccessMessage& message); |
126 | 126 |
127 | 127 |
128 class Factory : public ILoaderFactory | 128 class Factory : public ILoaderFactory |
129 { | 129 { |
130 public: | 130 public: |
131 virtual boost::shared_ptr<IObserver> Create(ILoadersContext::ILock& context) | 131 virtual boost::shared_ptr<IObserver> Create(ILoadersContext::ILock& context) ORTHANC_OVERRIDE |
132 { | 132 { |
133 return SeriesMetadataLoader::Create(context); | 133 return SeriesMetadataLoader::Create(context); |
134 } | 134 } |
135 }; | 135 }; |
136 | 136 |
137 | 137 |
138 static boost::shared_ptr<SeriesMetadataLoader> Create(ILoadersContext::ILock& context); | 138 static boost::shared_ptr<SeriesMetadataLoader> Create(const ILoadersContext::ILock& context); |
139 | 139 |
140 | 140 |
141 class Accessor : public boost::noncopyable | 141 class Accessor : public boost::noncopyable |
142 { | 142 { |
143 private: | 143 private: |