Mercurial > hg > orthanc
comparison Core/DicomNetworking/DicomServer.h @ 3786:3801435e34a1 SylvainRouquette/fix-issue169-95b752c
integration Orthanc-1.6.0->SylvainRouquette
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 19 Mar 2020 11:48:30 +0100 |
parents | f6a73611ec5c |
children | 4f78da5613a1 |
comparison
equal
deleted
inserted
replaced
3785:763533d6dd67 | 3786:3801435e34a1 |
---|---|
1 /** | 1 /** |
2 * Orthanc - A Lightweight, RESTful DICOM Store | 2 * Orthanc - A Lightweight, RESTful DICOM Store |
3 * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics | 3 * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics |
4 * Department, University Hospital of Liege, Belgium | 4 * Department, University Hospital of Liege, Belgium |
5 * Copyright (C) 2017-2019 Osimis S.A., Belgium | 5 * Copyright (C) 2017-2020 Osimis S.A., Belgium |
6 * | 6 * |
7 * This program is free software: you can redistribute it and/or | 7 * This program is free software: you can redistribute it and/or |
8 * modify it under the terms of the GNU General Public License as | 8 * modify it under the terms of the GNU General Public License as |
9 * published by the Free Software Foundation, either version 3 of the | 9 * published by the Free Software Foundation, either version 3 of the |
10 * License, or (at your option) any later version. | 10 * License, or (at your option) any later version. |
39 | 39 |
40 #include "IFindRequestHandlerFactory.h" | 40 #include "IFindRequestHandlerFactory.h" |
41 #include "IMoveRequestHandlerFactory.h" | 41 #include "IMoveRequestHandlerFactory.h" |
42 #include "IStoreRequestHandlerFactory.h" | 42 #include "IStoreRequestHandlerFactory.h" |
43 #include "IWorklistRequestHandlerFactory.h" | 43 #include "IWorklistRequestHandlerFactory.h" |
44 #include "IStorageCommitmentRequestHandlerFactory.h" | |
44 #include "IApplicationEntityFilter.h" | 45 #include "IApplicationEntityFilter.h" |
45 #include "RemoteModalityParameters.h" | 46 #include "RemoteModalityParameters.h" |
46 | 47 |
47 #include <boost/shared_ptr.hpp> | 48 #include <boost/shared_ptr.hpp> |
48 #include <boost/noncopyable.hpp> | 49 #include <boost/noncopyable.hpp> |
80 IRemoteModalities* modalities_; | 81 IRemoteModalities* modalities_; |
81 IFindRequestHandlerFactory* findRequestHandlerFactory_; | 82 IFindRequestHandlerFactory* findRequestHandlerFactory_; |
82 IMoveRequestHandlerFactory* moveRequestHandlerFactory_; | 83 IMoveRequestHandlerFactory* moveRequestHandlerFactory_; |
83 IStoreRequestHandlerFactory* storeRequestHandlerFactory_; | 84 IStoreRequestHandlerFactory* storeRequestHandlerFactory_; |
84 IWorklistRequestHandlerFactory* worklistRequestHandlerFactory_; | 85 IWorklistRequestHandlerFactory* worklistRequestHandlerFactory_; |
86 IStorageCommitmentRequestHandlerFactory* storageCommitmentFactory_; | |
85 IApplicationEntityFilter* applicationEntityFilter_; | 87 IApplicationEntityFilter* applicationEntityFilter_; |
86 | 88 |
87 static void ServerThread(DicomServer* server); | 89 static void ServerThread(DicomServer* server); |
88 | 90 |
89 public: | 91 public: |
120 | 122 |
121 void SetWorklistRequestHandlerFactory(IWorklistRequestHandlerFactory& handler); | 123 void SetWorklistRequestHandlerFactory(IWorklistRequestHandlerFactory& handler); |
122 bool HasWorklistRequestHandlerFactory() const; | 124 bool HasWorklistRequestHandlerFactory() const; |
123 IWorklistRequestHandlerFactory& GetWorklistRequestHandlerFactory() const; | 125 IWorklistRequestHandlerFactory& GetWorklistRequestHandlerFactory() const; |
124 | 126 |
127 void SetStorageCommitmentRequestHandlerFactory(IStorageCommitmentRequestHandlerFactory& handler); | |
128 bool HasStorageCommitmentRequestHandlerFactory() const; | |
129 IStorageCommitmentRequestHandlerFactory& GetStorageCommitmentRequestHandlerFactory() const; | |
130 | |
125 void SetApplicationEntityFilter(IApplicationEntityFilter& handler); | 131 void SetApplicationEntityFilter(IApplicationEntityFilter& handler); |
126 bool HasApplicationEntityFilter() const; | 132 bool HasApplicationEntityFilter() const; |
127 IApplicationEntityFilter& GetApplicationEntityFilter() const; | 133 IApplicationEntityFilter& GetApplicationEntityFilter() const; |
128 | 134 |
129 void Start(); | 135 void Start(); |