diff Core/JobsEngine/JobStatus.h @ 2648:e1893d31652a jobs

serialization of JobHandler
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 31 May 2018 18:44:05 +0200
parents 73d7d95dd75e
children 228e2783ce83
line wrap: on
line diff
--- a/Core/JobsEngine/JobStatus.h	Thu May 31 17:45:09 2018 +0200
+++ b/Core/JobsEngine/JobStatus.h	Thu May 31 18:44:05 2018 +0200
@@ -44,6 +44,7 @@
     float          progress_;
     std::string    jobType_;
     Json::Value    publicContent_;
+    Json::Value    serialized_;
 
   public:
     JobStatus();
@@ -75,5 +76,10 @@
     {
       return publicContent_;
     }
+
+    const Json::Value& GetSerialized() const
+    {
+      return serialized_;
+    }
   };
 }