diff OrthancFramework/Sources/FileStorage/StorageCache.h @ 5427:111e21b4f8bc

fix transcoded instance caching
author Alain Mazy <am@osimis.io>
date Fri, 17 Nov 2023 08:22:17 +0100
parents c65e036d649b
children 4be5f117aa0d
line wrap: on
line diff
--- a/OrthancFramework/Sources/FileStorage/StorageCache.h	Thu Nov 16 16:09:04 2023 +0100
+++ b/OrthancFramework/Sources/FileStorage/StorageCache.h	Fri Nov 17 08:22:17 2023 +0100
@@ -46,6 +46,7 @@
       // the same file.
       class Accessor : public MemoryStringCache::Accessor
       {
+        StorageCache& storageCache_;
       public:
         Accessor(StorageCache& cache);
 
@@ -82,8 +83,10 @@
       };
 
     private:
-      MemoryStringCache   cache_;
-      
+      MemoryStringCache             cache_;
+      std::set<DicomTransferSyntax> subKeysTransferSyntax_;
+      boost::mutex                  subKeysMutex_;
+
     public:
       void SetMaximumSize(size_t size);