Mercurial > hg > orthanc
comparison OrthancServer/DicomProtocol/DicomUserConnection.h @ 662:70161eb45b5c
orthanc can act as a C-Store SCU for JPEG transfer syntax
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 06 Nov 2013 16:19:25 +0100 |
parents | 1b2cdc855bd3 |
children | 2d0a347e8cfc |
comparison
equal
deleted
inserted
replaced
661:d233b5090105 | 662:70161eb45b5c |
---|---|
54 | 54 |
55 struct PImpl; | 55 struct PImpl; |
56 boost::shared_ptr<PImpl> pimpl_; | 56 boost::shared_ptr<PImpl> pimpl_; |
57 | 57 |
58 // Connection parameters | 58 // Connection parameters |
59 std::string preferredTransferSyntax_; | |
59 std::string localAet_; | 60 std::string localAet_; |
60 std::string distantAet_; | 61 std::string distantAet_; |
61 std::string distantHost_; | 62 std::string distantHost_; |
62 uint16_t distantPort_; | 63 uint16_t distantPort_; |
63 ModalityManufacturer manufacturer_; | 64 ModalityManufacturer manufacturer_; |
64 | 65 |
65 void CheckIsOpen() const; | 66 void CheckIsOpen() const; |
66 | 67 |
67 void SetupPresentationContexts(); | 68 void SetupPresentationContexts(const std::string& preferredTransferSyntax); |
68 | 69 |
69 void Find(DicomFindAnswers& result, | 70 void Find(DicomFindAnswers& result, |
70 FindRootModel model, | 71 FindRootModel model, |
71 const DicomMap& fields); | 72 const DicomMap& fields); |
72 | 73 |
113 ModalityManufacturer GetDistantManufacturer() const | 114 ModalityManufacturer GetDistantManufacturer() const |
114 { | 115 { |
115 return manufacturer_; | 116 return manufacturer_; |
116 } | 117 } |
117 | 118 |
119 void ResetPreferredTransferSyntax(); | |
120 | |
121 void SetPreferredTransferSyntax(const std::string& preferredTransferSyntax); | |
122 | |
123 const std::string& GetPreferredTransferSyntax() const | |
124 { | |
125 return preferredTransferSyntax_; | |
126 } | |
127 | |
118 void Open(); | 128 void Open(); |
119 | 129 |
120 void Close(); | 130 void Close(); |
121 | 131 |
122 bool IsOpen() const; | 132 bool IsOpen() const; |