JobManagerMessage.h
1 
11 #ifndef WRENCH_JOBMANAGERMESSAGE_H
12 #define WRENCH_JOBMANAGERMESSAGE_H
13 
14 
15 #include <wrench/simulation/SimulationMessage.h>
16 #include <wrench/workflow/job/StandardJob.h>
17 #include <wrench-dev.h>
18 
19 namespace wrench {
20 
21 
22  /***********************/
24  /***********************/
25 
30  protected:
31  JobManagerMessage(std::string name);
32  };
33 
35  public:
37  std::map<WorkflowTask *, WorkflowTask::State> necessary_state_changes);
38 
39 
40  StandardJob *job;
41  ComputeService *compute_service;
42  std::map<WorkflowTask *, WorkflowTask::State> necessary_state_changes;
43  };
44 
46  public:
48  std::map<WorkflowTask *, WorkflowTask::State> necessary_state_changes,
49  std::set<WorkflowTask *> necessary_failure_count_increments,
50  std::shared_ptr<FailureCause> cause);
51 
52 
53  StandardJob *job;
54  ComputeService *compute_service;
55  std::map<WorkflowTask *, WorkflowTask::State> necessary_state_changes;
56  std::set<WorkflowTask *> necessary_failure_count_increments;
57  std::shared_ptr<FailureCause> cause;
58  };
59 
60  /***********************/
62  /***********************/
63 
64 };
65 
66 #endif //WRENCH_JOBMANAGERMESSAGE_H
Definition: JobManagerMessage.h:45
Definition: JobManagerMessage.h:34
Top-level class to describe a message communicated by processes in the simulation.
Definition: SimulationMessage.h:27
std::string name
The message name.
Definition: SimulationMessage.h:37
Top-level class for messages received/sent by a JobManager.
Definition: JobManagerMessage.h:29
JobManagerMessage(std::string name)
Constructor.
Definition: JobManagerMessage.cpp:19
A standard (i.e., non-pilot) workflow job that can be submitted to a ComputeService by a WMS (via a J...
Definition: StandardJob.h:38
The compute service base class.
Definition: ComputeService.h:35
Definition: TerminalOutput.cpp:15