Mercurial > hg > orthanc-stone
comparison Framework/SmartLoader.h @ 300:b4abaeb783b1 am-callable-and-promise
messaging refactoring almost complete: works fine in native
author | am@osimis.io |
---|---|
date | Tue, 18 Sep 2018 15:23:21 +0200 |
parents | 8f5d7495076d |
children | b66d13708f40 |
comparison
equal
deleted
inserted
replaced
299:3897f9f28cfa | 300:b4abaeb783b1 |
---|---|
38 int studyListRequest_; | 38 int studyListRequest_; |
39 | 39 |
40 public: | 40 public: |
41 SmartLoader(MessageBroker& broker, IWebService& webService); // TODO: add maxPreloadStorageSizeInBytes | 41 SmartLoader(MessageBroker& broker, IWebService& webService); // TODO: add maxPreloadStorageSizeInBytes |
42 | 42 |
43 virtual void HandleMessage(IObservable& from, const IMessage& message); | |
44 | |
45 void PreloadStudy(const std::string studyId); | 43 void PreloadStudy(const std::string studyId); |
46 void PreloadSeries(const std::string seriesId); | 44 void PreloadSeries(const std::string seriesId); |
47 void LoadStudyList(); | 45 void LoadStudyList(); |
48 | 46 |
49 void SetImageQuality(SliceImageQuality imageQuality) { imageQuality_ = imageQuality; } | 47 void SetImageQuality(SliceImageQuality imageQuality) { imageQuality_ = imageQuality; } |