comparison Framework/Deprecated/Toolbox/OrthancSlicesLoader.h @ 1068:04a95ee91327 broker

recovery of OrthancStoneSingleFrame
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 15 Oct 2019 19:36:57 +0200
parents b537002f83a9
children 0ca50d275b9a
comparison
equal deleted inserted replaced
1067:05b2e71ed145 1068:04a95ee91327
144 Mode_LoadDicomFile 144 Mode_LoadDicomFile
145 }; 145 };
146 146
147 class Operation; 147 class Operation;
148 148
149 OrthancApiClient& orthanc_; 149 boost::shared_ptr<OrthancApiClient> orthanc_;
150 State state_; 150 State state_;
151 OrthancStone::SlicesSorter slices_; 151 OrthancStone::SlicesSorter slices_;
152 152
153 void NotifySliceImageSuccess(const Operation& operation, 153 void NotifySliceImageSuccess(const Operation& operation,
154 const Orthanc::ImageAccessor& image); 154 const Orthanc::ImageAccessor& image);
185 185
186 void SortAndFinalizeSlices(); 186 void SortAndFinalizeSlices();
187 187
188 public: 188 public:
189 OrthancSlicesLoader(//ISliceLoaderObserver& callback, 189 OrthancSlicesLoader(//ISliceLoaderObserver& callback,
190 OrthancApiClient& orthancApi); 190 boost::shared_ptr<OrthancApiClient> orthancApi);
191 191
192 void ScheduleLoadSeries(const std::string& seriesId); 192 void ScheduleLoadSeries(const std::string& seriesId);
193 193
194 void ScheduleLoadInstance(const std::string& instanceId); 194 void ScheduleLoadInstance(const std::string& instanceId);
195 195