WorkflowExecutionEvent.h
1 
11 #ifndef WRENCH_WORKFLOWEXECUTIONEVENT_H
12 #define WRENCH_WORKFLOWEXECUTIONEVENT_H
13 
14 #include <string>
15 #include "wrench/workflow/failure_causes/FailureCause.h"
16 
17 /***********************/
19 /***********************/
20 
21 namespace wrench {
27 
28  public:
29 
30  /***********************/
32  /***********************/
33  static std::shared_ptr<WorkflowExecutionEvent> waitForNextExecutionEvent(std::string);
34  static std::shared_ptr<WorkflowExecutionEvent> waitForNextExecutionEvent(std::string, double timeout);
35 
40  virtual std::string toString() { return "Generic WorkflowExecutionEvent"; }
41 
42  virtual ~WorkflowExecutionEvent() = default;
43 
44  protected:
45  WorkflowExecutionEvent() = default;
46 
47  /***********************/
49  /***********************/
50 
51  };
52 
53 };
54 
55 /***********************/
57 /***********************/
58 
59 
60 
61 #endif //WRENCH_WORKFLOWEXECUTIONEVENT_H
Definition: Alarm.cpp:20
virtual std::string toString()
Get a textual description of the event.
Definition: WorkflowExecutionEvent.h:40
static std::shared_ptr< WorkflowExecutionEvent > waitForNextExecutionEvent(std::string)
Block the calling process until a WorkflowExecutionEvent is generated based on messages received on a...
Definition: WorkflowExecutionEvent.cpp:37
A class to represent the various execution events that are relevant to the execution of a workflow.
Definition: WorkflowExecutionEvent.h:26