WRENCH  1.11
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
PilotJobExpiredEvent.h
1 
11 #ifndef WRENCH_PILOT_JOB_EXPIRED_EVENT_H
12 #define WRENCH_PILOT_JOB_EXPIRED_EVENT_H
13 
14 #include <string>
15 #include "wrench/failure_causes/FailureCause.h"
16 
17 /***********************/
19 /***********************/
20 
21 namespace wrench {
22 
23  class WorkflowTask;
24 
25  class DataFile;
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 
39 
44 
45  private:
46 
47  friend class ExecutionEvent;
53  PilotJobExpiredEvent(std::shared_ptr<PilotJob> pilot_job,
54  std::shared_ptr<ComputeService> compute_service)
56 
57  public:
58 
60  std::shared_ptr<PilotJob> pilot_job;
62  std::shared_ptr<ComputeService> compute_service;
63 
68  std::string toString() override { return "PilotJobExpiredEvent (cs = " + this->compute_service->getName() + ")";}
69 
70  };
71 
72 };
73 
74 /***********************/
76 /***********************/
77 
78 
79 
80 #endif //WRENCH_PILOT_JOB_EXPIRED_EVENT_H
wrench::PilotJobExpiredEvent::compute_service
std::shared_ptr< ComputeService > compute_service
The compute service on which the pilot job has expired.
Definition: PilotJobExpiredEvent.h:62
wrench::PilotJobExpiredEvent
A "pilot job has expired" ExecutionEvent.
Definition: PilotJobExpiredEvent.h:43
wrench::PilotJobExpiredEvent::pilot_job
std::shared_ptr< PilotJob > pilot_job
The pilot job that has expired.
Definition: PilotJobExpiredEvent.h:60
wrench
Definition: Action.cpp:28
wrench::ExecutionEvent
A class to represent the various execution events that are relevant to the execution of a workflow.
Definition: ExecutionEvent.h:26
wrench::PilotJobExpiredEvent::toString
std::string toString() override
Get a textual description of the event.
Definition: PilotJobExpiredEvent.h:68