WRENCH  1.10
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
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
wrench
Definition: Alarm.cpp:20
wrench::WorkflowExecutionEvent::toString
virtual std::string toString()
Get a textual description of the event.
Definition: WorkflowExecutionEvent.h:40
wrench::WorkflowExecutionEvent::waitForNextExecutionEvent
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
wrench::WorkflowExecutionEvent
A class to represent the various execution events that are relevant to the execution of a workflow.
Definition: WorkflowExecutionEvent.h:26