Mercurial > hg > orthanc
comparison Plugins/Engine/OrthancPlugins.h @ 1999:364cc624eb65
New URI "/modalities/.../move" to issue C-Move SCU requests
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 26 May 2016 14:24:56 +0200 |
parents | f0acfa753973 |
children | 39329372b667 |
comparison
equal
deleted
inserted
replaced
1998:9b61701c35f2 | 1999:364cc624eb65 |
---|---|
52 #include "../../Core/HttpServer/IIncomingHttpRequestFilter.h" | 52 #include "../../Core/HttpServer/IIncomingHttpRequestFilter.h" |
53 #include "../../OrthancServer/IServerListener.h" | 53 #include "../../OrthancServer/IServerListener.h" |
54 #include "../../OrthancServer/IDicomImageDecoder.h" | 54 #include "../../OrthancServer/IDicomImageDecoder.h" |
55 #include "../../OrthancServer/DicomProtocol/IWorklistRequestHandlerFactory.h" | 55 #include "../../OrthancServer/DicomProtocol/IWorklistRequestHandlerFactory.h" |
56 #include "../../OrthancServer/DicomProtocol/IFindRequestHandlerFactory.h" | 56 #include "../../OrthancServer/DicomProtocol/IFindRequestHandlerFactory.h" |
57 #include "../../OrthancServer/DicomProtocol/IMoveRequestHandlerFactory.h" | |
57 #include "OrthancPluginDatabase.h" | 58 #include "OrthancPluginDatabase.h" |
58 #include "PluginsManager.h" | 59 #include "PluginsManager.h" |
59 | 60 |
60 #include <list> | 61 #include <list> |
61 #include <boost/shared_ptr.hpp> | 62 #include <boost/shared_ptr.hpp> |
69 public IPluginServiceProvider, | 70 public IPluginServiceProvider, |
70 public IServerListener, | 71 public IServerListener, |
71 public IWorklistRequestHandlerFactory, | 72 public IWorklistRequestHandlerFactory, |
72 public IDicomImageDecoder, | 73 public IDicomImageDecoder, |
73 public IIncomingHttpRequestFilter, | 74 public IIncomingHttpRequestFilter, |
74 public IFindRequestHandlerFactory | 75 public IFindRequestHandlerFactory, |
76 public IMoveRequestHandlerFactory | |
75 { | 77 { |
76 private: | 78 private: |
77 struct PImpl; | 79 struct PImpl; |
78 boost::shared_ptr<PImpl> pimpl_; | 80 boost::shared_ptr<PImpl> pimpl_; |
79 | 81 |
80 class WorklistHandler; | 82 class WorklistHandler; |
81 class FindHandler; | 83 class FindHandler; |
84 class MoveHandler; | |
82 | 85 |
83 void CheckContextAvailable(); | 86 void CheckContextAvailable(); |
84 | 87 |
85 void RegisterRestCallback(const void* parameters, | 88 void RegisterRestCallback(const void* parameters, |
86 bool lock); | 89 bool lock); |
90 void RegisterOnChangeCallback(const void* parameters); | 93 void RegisterOnChangeCallback(const void* parameters); |
91 | 94 |
92 void RegisterWorklistCallback(const void* parameters); | 95 void RegisterWorklistCallback(const void* parameters); |
93 | 96 |
94 void RegisterFindCallback(const void* parameters); | 97 void RegisterFindCallback(const void* parameters); |
98 | |
99 void RegisterMoveCallback(const void* parameters); | |
95 | 100 |
96 void RegisterDecodeImageCallback(const void* parameters); | 101 void RegisterDecodeImageCallback(const void* parameters); |
97 | 102 |
98 void RegisterIncomingHttpRequestFilter(const void* parameters); | 103 void RegisterIncomingHttpRequestFilter(const void* parameters); |
99 | 104 |
258 const IHttpHandler::Arguments& httpHeaders) const; | 263 const IHttpHandler::Arguments& httpHeaders) const; |
259 | 264 |
260 bool HasFindHandler(); | 265 bool HasFindHandler(); |
261 | 266 |
262 virtual IFindRequestHandler* ConstructFindRequestHandler(); | 267 virtual IFindRequestHandler* ConstructFindRequestHandler(); |
268 | |
269 bool HasMoveHandler(); | |
270 | |
271 virtual IMoveRequestHandler* ConstructMoveRequestHandler(); | |
263 }; | 272 }; |
264 } | 273 } |
265 | 274 |
266 #endif | 275 #endif |