11 #ifndef WRENCH_COMPOUND_JOB_COMPLETED_EVENT_H
12 #define WRENCH_COMPOUND_JOB_COMPLETED_EVENT_H
16 #include "ExecutionEvent.h"
17 #include "wrench/failure_causes/FailureCause.h"
37 class FileRegistryService;
39 class FileRegistryService;
46 class CompoundJobCompletedEvent :
public ExecutionEvent {
50 friend class ExecutionEvent;
57 CompoundJobCompletedEvent(std::shared_ptr<CompoundJob> compound_job,
58 std::shared_ptr<ComputeService> compute_service)
59 : job(std::move(compound_job)), compute_service(std::move(compute_service)) {}
63 std::shared_ptr<CompoundJob> job;
65 std::shared_ptr<ComputeService> compute_service;
71 std::string
toString()
override {
return "CompoundJobCompletedEvent (job: " + this->job->getName() +
"; cs = " + this->compute_service->getName() +
")";}
83 #endif //WRENCH_COMPOUND_JOB_COMPLETED_EVENT_H