hpcpack-linux-agent/nodemanager/data/JobInfo.h

29 строки
476 B
C
Исходник Обычный вид История

#ifndef JOBINFO_H
#define JOBINFO_H
#include <cpprest/json.h>
#include <map>
#include "TaskInfo.h"
namespace hpc
{
namespace data
{
struct JobInfo
{
public:
JobInfo(int jobId) : JobId(jobId) { }
2015-02-24 14:14:14 +03:00
web::json::value ToJson() const;
int JobId;
2015-02-25 02:02:39 +03:00
std::map<int, std::shared_ptr<TaskInfo>> Tasks;
protected:
private:
};
}
}
#endif // JOBINFO_H