Mercurial > hg > orthanc
comparison OrthancServer/DicomProtocol/IWorklistRequestHandler.h @ 1787:1b1d5470233f worklists
refactoring of DicomFindAnswers
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 18 Nov 2015 15:50:32 +0100 |
parents | 164d78911382 |
children | af6840eb23ee |
comparison
equal
deleted
inserted
replaced
1786:164d78911382 | 1787:1b1d5470233f |
---|---|
30 **/ | 30 **/ |
31 | 31 |
32 | 32 |
33 #pragma once | 33 #pragma once |
34 | 34 |
35 #include "DicomWorklistAnswers.h" | 35 #include "DicomFindAnswers.h" |
36 | 36 |
37 namespace Orthanc | 37 namespace Orthanc |
38 { | 38 { |
39 class IWorklistRequestHandler : public boost::noncopyable | 39 class IWorklistRequestHandler : public boost::noncopyable |
40 { | 40 { |
47 * Can throw exceptions. Returns "false" iff too many results have | 47 * Can throw exceptions. Returns "false" iff too many results have |
48 * to be returned. In such a case, a "Matching terminated due to | 48 * to be returned. In such a case, a "Matching terminated due to |
49 * Cancel request" DIMSE code would be returned. | 49 * Cancel request" DIMSE code would be returned. |
50 * https://www.dabsoft.ch/dicom/4/V.4.1/ | 50 * https://www.dabsoft.ch/dicom/4/V.4.1/ |
51 **/ | 51 **/ |
52 virtual bool Handle(DicomWorklistAnswers& answers, | 52 virtual bool Handle(DicomFindAnswers& answers, |
53 const ParsedDicomFile& query, | 53 const ParsedDicomFile& query, |
54 const std::string& remoteIp, | 54 const std::string& remoteIp, |
55 const std::string& remoteAet) = 0; | 55 const std::string& remoteAet) = 0; |
56 }; | 56 }; |
57 } | 57 } |