Mercurial > hg > orthanc
comparison OrthancFramework/Sources/Cache/MemoryObjectCache.h @ 4063:e00f3d089991 framework
shared library of orthanc framework
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 11 Jun 2020 16:40:34 +0200 |
parents | d25f4c0fa160 |
children | bf7b9edf6b81 |
comparison
equal
deleted
inserted
replaced
4062:0953b3dc3261 | 4063:e00f3d089991 |
---|---|
31 **/ | 31 **/ |
32 | 32 |
33 | 33 |
34 #pragma once | 34 #pragma once |
35 | 35 |
36 #include "../OrthancFramework.h" | |
36 #include "ICacheable.h" | 37 #include "ICacheable.h" |
37 #include "LeastRecentlyUsedIndex.h" | 38 #include "LeastRecentlyUsedIndex.h" |
38 | 39 |
39 #if !defined(__EMSCRIPTEN__) | 40 #if !defined(__EMSCRIPTEN__) |
40 // Multithreading is not supported in WebAssembly | 41 // Multithreading is not supported in WebAssembly |
45 #include <boost/date_time/posix_time/posix_time.hpp> | 46 #include <boost/date_time/posix_time/posix_time.hpp> |
46 | 47 |
47 | 48 |
48 namespace Orthanc | 49 namespace Orthanc |
49 { | 50 { |
50 class MemoryObjectCache : public boost::noncopyable | 51 class ORTHANC_PUBLIC MemoryObjectCache : public boost::noncopyable |
51 { | 52 { |
52 private: | 53 private: |
53 class Item; | 54 class Item; |
54 | 55 |
55 #if !defined(__EMSCRIPTEN__) | 56 #if !defined(__EMSCRIPTEN__) |