11 #ifndef WRENCH_PILOT_JOB_STARTED_EVENT_H
12 #define WRENCH_PILOT_JOB_STARTED_EVENT_H
15 #include "wrench/failure_causes/FailureCause.h"
35 class FileRegistryService;
37 class FileRegistryService;
42 class PilotJobStartedEvent :
public ExecutionEvent {
46 friend class ExecutionEvent;
53 PilotJobStartedEvent(std::shared_ptr<PilotJob> pilot_job,
54 std::shared_ptr<ComputeService> compute_service)
55 : pilot_job(pilot_job), compute_service(compute_service) {}
59 std::shared_ptr<PilotJob> pilot_job;
61 std::shared_ptr<ComputeService> compute_service;
67 std::string
toString()
override {
return "PilotJobStartedEvent (cs = " + this->compute_service->getName() +
")";}
79 #endif //WRENCH_PILOT_JOB_STARTED_EVENT_H