comparison Core/JobsEngine/IJob.h @ 2976:cb5d75143da0

Asynchronous generation of ZIP archives and DICOM medias
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 06 Dec 2018 12:23:46 +0100
parents ea7aea6f6a95
children 4e43e67f8ecf
comparison
equal deleted inserted replaced
2970:eea66afed0db 2976:cb5d75143da0
63 virtual void GetJobType(std::string& target) = 0; 63 virtual void GetJobType(std::string& target) = 0;
64 64
65 virtual void GetPublicContent(Json::Value& value) = 0; 65 virtual void GetPublicContent(Json::Value& value) = 0;
66 66
67 virtual bool Serialize(Json::Value& value) = 0; 67 virtual bool Serialize(Json::Value& value) = 0;
68
69 // This function can only be called if the job has reached its
70 // "success" state
71 virtual bool GetOutput(std::string& output,
72 MimeType& mime,
73 const std::string& key) = 0;
68 }; 74 };
69 } 75 }