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