comparison OrthancServer/ServerJobs/ArchiveJob.h @ 3913:6ddad3e0b569 transcoding

transcoding ZIP archive and media
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 08 May 2020 19:15:28 +0200
parents 5ff5d5a0fd28
children
comparison
equal deleted inserted replaced
3912:7610af1532c3 3913:6ddad3e0b569
67 size_t currentStep_; 67 size_t currentStep_;
68 unsigned int instancesCount_; 68 unsigned int instancesCount_;
69 uint64_t uncompressedSize_; 69 uint64_t uncompressedSize_;
70 std::string mediaArchiveId_; 70 std::string mediaArchiveId_;
71 71
72 // New in Orthanc 1.7.0
73 bool transcode_;
74 DicomTransferSyntax transferSyntax_;
75
72 void FinalizeTarget(); 76 void FinalizeTarget();
73 77
74 public: 78 public:
75 ArchiveJob(ServerContext& context, 79 ArchiveJob(ServerContext& context,
76 bool isMedia, 80 bool isMedia,
86 { 90 {
87 return description_; 91 return description_;
88 } 92 }
89 93
90 void AddResource(const std::string& publicId); 94 void AddResource(const std::string& publicId);
95
96 void SetTranscode(DicomTransferSyntax transferSyntax);
91 97
92 virtual void Reset() ORTHANC_OVERRIDE; 98 virtual void Reset() ORTHANC_OVERRIDE;
93 99
94 virtual void Start() ORTHANC_OVERRIDE; 100 virtual void Start() ORTHANC_OVERRIDE;
95 101