comparison OrthancFramework/Sources/DicomNetworking/DicomControlUserConnection.h @ 5853:4d932683049d get-scu tip

very first implementation of C-Get SCU
author Alain Mazy <am@orthanc.team>
date Tue, 29 Oct 2024 17:25:49 +0100
parents f7adfb22e20e
children
comparison
equal deleted inserted replaced
5839:7aef730c0859 5853:4d932683049d
35 35
36 namespace Orthanc 36 namespace Orthanc
37 { 37 {
38 class DicomAssociation; // Forward declaration for PImpl design pattern 38 class DicomAssociation; // Forward declaration for PImpl design pattern
39 39
40 typedef uint16_t (*CGetInstanceReceivedCallback)(void *callbackContext,
41 DcmDataset& dataset,
42 const std::string& remoteAet,
43 const std::string& remoteIp,
44 const std::string& calledAet
45 );
46
47
40 class DicomControlUserConnection : public boost::noncopyable 48 class DicomControlUserConnection : public boost::noncopyable
41 { 49 {
42 private: 50 private:
43 DicomAssociationParameters parameters_; 51 DicomAssociationParameters parameters_;
44 boost::shared_ptr<DicomAssociation> association_; 52 boost::shared_ptr<DicomAssociation> association_;
70 void Find(DicomFindAnswers& result, 78 void Find(DicomFindAnswers& result,
71 ResourceType level, 79 ResourceType level,
72 const DicomMap& originalFields, 80 const DicomMap& originalFields,
73 bool normalize); 81 bool normalize);
74 82
83 void Get(const DicomMap& getQuery,
84 CGetInstanceReceivedCallback instanceReceivedCallback,
85 void* callbackContext);
86
75 void Move(const std::string& targetAet, 87 void Move(const std::string& targetAet,
76 ResourceType level, 88 ResourceType level,
77 const DicomMap& findResult); 89 const DicomMap& findResult);
78 90
79 void Move(const std::string& targetAet, 91 void Move(const std::string& targetAet,