PilotJobStartedEvent.h
1 
11 #ifndef WRENCH_PILOT_JOB_STARTED_EVENT_H
12 #define WRENCH_PILOT_JOB_STARTED_EVENT_H
13 
14 #include <string>
15 #include "wrench/workflow/failure_causes/FailureCause.h"
16 
17 /***********************/
19 /***********************/
20 
21 namespace wrench {
22 
23  class WorkflowTask;
24 
25  class WorkflowFile;
26 
27  class StandardJob;
28 
29  class PilotJob;
30 
31  class ComputeService;
32 
33  class StorageService;
34 
35  class FileRegistryService;
36 
37  class FileRegistryService;
38 
43 
44  private:
45 
46  friend class WorkflowExecutionEvent;
47 
54  std::shared_ptr<ComputeService> compute_service)
56 
57  public:
61  std::shared_ptr<ComputeService> compute_service;
62 
67  std::string toString() override { return "PilotJobStartedEvent (cs = " + this->compute_service->getName() + ")";}
68 
69  };
70 
71 };
72 
73 /***********************/
75 /***********************/
76 
77 
78 
79 #endif //WRENCH_PILOT_JOB_STARTED_EVENT_H
std::shared_ptr< ComputeService > compute_service
The compute service on which the pilot job has started.
Definition: PilotJobStartedEvent.h:61
PilotJob * pilot_job
The pilot job that has started.
Definition: PilotJobStartedEvent.h:59
Definition: Alarm.cpp:20
A "pilot job has started" WorkflowExecutionEvent.
Definition: PilotJobStartedEvent.h:42
std::string toString() override
Get a textual description of the event.
Definition: PilotJobStartedEvent.h:67
A pilot (i.e., non-standard) workflow job that can be submitted to a ComputeService by a WMS (via a J...
Definition: PilotJob.h:29
A class to represent the various execution events that are relevant to the execution of a workflow.
Definition: WorkflowExecutionEvent.h:26