Mercurial > hg > orthanc-wsi
diff ViewerPlugin/DicomPyramidCache.h @ 196:b0bd22077cd8
sharing code with orthanc-stone
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 01 Jul 2020 17:57:38 +0200 |
parents | f299c191cd76 |
children | 1e864138f0da |
line wrap: on
line diff
--- a/ViewerPlugin/DicomPyramidCache.h Tue Jun 30 18:11:30 2020 +0200 +++ b/ViewerPlugin/DicomPyramidCache.h Wed Jul 01 17:57:38 2020 +0200 @@ -34,10 +34,10 @@ private: typedef Orthanc::LeastRecentlyUsedIndex<std::string, DicomPyramid*> Cache; - boost::mutex mutex_; - OrthancPlugins::IOrthancConnection& orthanc_; - size_t maxSize_; - Cache cache_; + boost::mutex mutex_; + OrthancStone::IOrthancConnection& orthanc_; + size_t maxSize_; + Cache cache_; DicomPyramid* GetCachedPyramid(const std::string& seriesId); @@ -46,7 +46,7 @@ boost::mutex::scoped_lock& lock); public: - DicomPyramidCache(OrthancPlugins::IOrthancConnection& orthanc, + DicomPyramidCache(OrthancStone::IOrthancConnection& orthanc, size_t maxSize); ~DicomPyramidCache();