11 #ifndef WRENCH_STANDARD_JOB_COMPLETED_EVENT_H
12 #define WRENCH_STANDARD_JOB_COMPLETED_EVENT_H
15 #include "wrench/workflow//execution_events/WorkflowExecutionEvent.h"
16 #include "wrench/workflow/failure_causes/FailureCause.h"
36 class FileRegistryService;
38 class FileRegistryService;
45 class StandardJobCompletedEvent :
public WorkflowExecutionEvent {
49 friend class WorkflowExecutionEvent;
56 StandardJobCompletedEvent(std::shared_ptr<StandardJob> standard_job,
57 std::shared_ptr<ComputeService> compute_service)
58 : standard_job(standard_job), compute_service(compute_service) {}
62 std::shared_ptr<StandardJob> standard_job;
64 std::shared_ptr<ComputeService> compute_service;
70 std::string
toString()
override {
return "StandardJobCompletedEvent (job: " + this->standard_job->getName() +
"; cs = " + this->compute_service->getName() +
")";}
82 #endif //WRENCH_STANDARD_JOB_COMPLETED_EVENT_H