comparison OrthancServer/DicomProtocol/DicomServer.h @ 1786:164d78911382 worklists

primitives to handle dicom worklists
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 18 Nov 2015 12:00:14 +0100
parents 6414043df7d8
children 559956d5ceb2
comparison
equal deleted inserted replaced
1784:2dbf25006f88 1786:164d78911382
33 #pragma once 33 #pragma once
34 34
35 #include "IFindRequestHandlerFactory.h" 35 #include "IFindRequestHandlerFactory.h"
36 #include "IMoveRequestHandlerFactory.h" 36 #include "IMoveRequestHandlerFactory.h"
37 #include "IStoreRequestHandlerFactory.h" 37 #include "IStoreRequestHandlerFactory.h"
38 #include "IWorklistRequestHandlerFactory.h"
38 #include "IApplicationEntityFilter.h" 39 #include "IApplicationEntityFilter.h"
39 40
40 #include <boost/shared_ptr.hpp> 41 #include <boost/shared_ptr.hpp>
41 #include <boost/noncopyable.hpp> 42 #include <boost/noncopyable.hpp>
42 43
56 bool started_; 57 bool started_;
57 uint32_t clientTimeout_; 58 uint32_t clientTimeout_;
58 IFindRequestHandlerFactory* findRequestHandlerFactory_; 59 IFindRequestHandlerFactory* findRequestHandlerFactory_;
59 IMoveRequestHandlerFactory* moveRequestHandlerFactory_; 60 IMoveRequestHandlerFactory* moveRequestHandlerFactory_;
60 IStoreRequestHandlerFactory* storeRequestHandlerFactory_; 61 IStoreRequestHandlerFactory* storeRequestHandlerFactory_;
62 IWorklistRequestHandlerFactory* worklistRequestHandlerFactory_;
61 IApplicationEntityFilter* applicationEntityFilter_; 63 IApplicationEntityFilter* applicationEntityFilter_;
62 64
63 static void ServerThread(DicomServer* server); 65 static void ServerThread(DicomServer* server);
64 66
65 public: 67 public:
89 91
90 void SetStoreRequestHandlerFactory(IStoreRequestHandlerFactory& handler); 92 void SetStoreRequestHandlerFactory(IStoreRequestHandlerFactory& handler);
91 bool HasStoreRequestHandlerFactory() const; 93 bool HasStoreRequestHandlerFactory() const;
92 IStoreRequestHandlerFactory& GetStoreRequestHandlerFactory() const; 94 IStoreRequestHandlerFactory& GetStoreRequestHandlerFactory() const;
93 95
96 void SetWorklistRequestHandlerFactory(IWorklistRequestHandlerFactory& handler);
97 bool HasWorklistRequestHandlerFactory() const;
98 IWorklistRequestHandlerFactory& GetWorklistRequestHandlerFactory() const;
99
94 void SetApplicationEntityFilter(IApplicationEntityFilter& handler); 100 void SetApplicationEntityFilter(IApplicationEntityFilter& handler);
95 bool HasApplicationEntityFilter() const; 101 bool HasApplicationEntityFilter() const;
96 IApplicationEntityFilter& GetApplicationEntityFilter() const; 102 IApplicationEntityFilter& GetApplicationEntityFilter() const;
97 103
98 void Start(); 104 void Start();