Mercurial > hg > orthanc
comparison OrthancServer/ServerContext.h @ 3160:fc9a4a2dad63
merge
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Thu, 24 Jan 2019 10:55:19 +0100 |
parents | ac72032d69a2 |
children | 1fe524e211af |
comparison
equal
deleted
inserted
replaced
3159:4cfed5c2eacd | 3160:fc9a4a2dad63 |
---|---|
31 **/ | 31 **/ |
32 | 32 |
33 | 33 |
34 #pragma once | 34 #pragma once |
35 | 35 |
36 #include "DicomInstanceToStore.h" | |
37 #include "IServerListener.h" | 36 #include "IServerListener.h" |
38 #include "LuaScripting.h" | 37 #include "LuaScripting.h" |
39 #include "OrthancHttpHandler.h" | 38 #include "OrthancHttpHandler.h" |
40 #include "ServerIndex.h" | 39 #include "ServerIndex.h" |
41 #include "Search/LookupResource.h" | |
42 | 40 |
43 #include "../Core/Cache/MemoryCache.h" | 41 #include "../Core/Cache/MemoryCache.h" |
44 #include "../Core/Cache/SharedArchive.h" | |
45 #include "../Core/DicomParsing/ParsedDicomFile.h" | |
46 #include "../Core/FileStorage/IStorageArea.h" | |
47 #include "../Core/JobsEngine/JobsEngine.h" | |
48 #include "../Core/JobsEngine/SetOfInstancesJob.h" | |
49 #include "../Core/MultiThreading/SharedMessageQueue.h" | |
50 #include "../Core/RestApi/RestApiOutput.h" | |
51 #include "../Plugins/Engine/OrthancPlugins.h" | |
52 | |
53 #include <boost/filesystem.hpp> | |
54 #include <boost/thread.hpp> | |
55 | 42 |
56 | 43 |
57 namespace Orthanc | 44 namespace Orthanc |
58 { | 45 { |
46 class DicomInstanceToStore; | |
47 class IStorageArea; | |
48 class JobsEngine; | |
49 class OrthancPlugins; | |
50 class ParsedDicomFile; | |
51 class RestApiOutput; | |
52 class SetOfInstancesJob; | |
53 class SharedArchive; | |
54 class SharedMessageQueue; | |
55 | |
56 | |
59 /** | 57 /** |
60 * This class is responsible for maintaining the storage area on the | 58 * This class is responsible for maintaining the storage area on the |
61 * filesystem (including compression), as well as the index of the | 59 * filesystem (including compression), as well as the index of the |
62 * DICOM store. It implements the required locking mechanisms. | 60 * DICOM store. It implements the required locking mechanisms. |
63 **/ | 61 **/ |
361 } | 359 } |
362 | 360 |
363 void Stop(); | 361 void Stop(); |
364 | 362 |
365 void Apply(ILookupVisitor& visitor, | 363 void Apply(ILookupVisitor& visitor, |
366 const ::Orthanc::LookupResource& lookup, | 364 const DatabaseLookup& lookup, |
365 ResourceType queryLevel, | |
367 size_t since, | 366 size_t since, |
368 size_t limit); | 367 size_t limit); |
369 | 368 |
370 bool LookupOrReconstructMetadata(std::string& target, | 369 bool LookupOrReconstructMetadata(std::string& target, |
371 const std::string& publicId, | 370 const std::string& publicId, |