comparison Framework/Oracle/ParseDicomSuccessMessage.h @ 1484:121d01aa328e

SeriesThumbnailsLoader working on raw dicom files
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 22 Jun 2020 17:46:40 +0200
parents 28c64c246312
children
comparison
equal deleted inserted replaced
1483:6abd819aa534 1484:121d01aa328e
42 class ParsedDicomFile; 42 class ParsedDicomFile;
43 } 43 }
44 44
45 namespace OrthancStone 45 namespace OrthancStone
46 { 46 {
47 class DicomSource;
48
47 class ParseDicomSuccessMessage : public OriginMessage<OracleCommandBase> 49 class ParseDicomSuccessMessage : public OriginMessage<OracleCommandBase>
48 { 50 {
49 ORTHANC_STONE_MESSAGE(__FILE__, __LINE__); 51 ORTHANC_STONE_MESSAGE(__FILE__, __LINE__);
50 52
51 private: 53 private:
54 const DicomSource& source_;
52 Orthanc::ParsedDicomFile& dicom_; 55 Orthanc::ParsedDicomFile& dicom_;
53 size_t fileSize_; 56 size_t fileSize_;
54 bool hasPixelData_; 57 bool hasPixelData_;
55 58
56 public: 59 public:
57 ParseDicomSuccessMessage(const OracleCommandBase& command, 60 ParseDicomSuccessMessage(const OracleCommandBase& command,
61 const DicomSource& source,
58 Orthanc::ParsedDicomFile& dicom, 62 Orthanc::ParsedDicomFile& dicom,
59 size_t fileSize, 63 size_t fileSize,
60 bool hasPixelData) : 64 bool hasPixelData) :
61 OriginMessage(command), 65 OriginMessage(command),
66 source_(source),
62 dicom_(dicom), 67 dicom_(dicom),
63 fileSize_(fileSize), 68 fileSize_(fileSize),
64 hasPixelData_(hasPixelData) 69 hasPixelData_(hasPixelData)
65 { 70 {
66 } 71 }
67 72
73 const DicomSource& GetSource() const
74 {
75 return source_;
76 }
77
68 Orthanc::ParsedDicomFile& GetDicom() const 78 Orthanc::ParsedDicomFile& GetDicom() const
69 { 79 {
70 return dicom_; 80 return dicom_;
71 } 81 }
72 82