WRENCH
1.10
Cyberinfrastructure Simulation Workbench
Overview
Installation
Getting Started
WRENCH 101
WRENCH 102
APIs Reference
User
Developer
Internal
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
Functions
Typedefs
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
~
Variables
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
Enumerations
Enumerator
Files
File List
•
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Pages
include
wrench
workflow
failure_causes
ServiceIsDown.h
1
10
#ifndef WRENCH_SERVICE_IS_DOWN_H
11
#define WRENCH_SERVICE_IS_DOWN_H
12
13
#include <set>
14
#include <string>
15
16
#include "wrench/workflow/failure_causes/FailureCause.h"
17
#include "wrench/services/Service.h"
18
19
namespace
wrench
{
20
21
class
Service;
22
23
/***********************/
25
/***********************/
26
30
class
ServiceIsDown
:
public
FailureCause
{
31
public
:
32
/***********************/
34
/***********************/
35
explicit
ServiceIsDown
(std::shared_ptr<Service> service);
36
/***********************/
38
/***********************/
39
40
std::shared_ptr<Service>
getService
();
41
std::string
toString
()
override
;
42
43
private
:
44
std::shared_ptr<Service> service;
45
};
46
47
48
/***********************/
50
/***********************/
51
};
52
53
54
#endif //WRENCH_SERVICE_IS_DOWN_H
wrench
Definition:
Alarm.cpp:20
wrench::ServiceIsDown
A "service is down" failure cause.
Definition:
ServiceIsDown.h:30
wrench::FailureCause
A top-level class to describe all simulation-valid failures that can occur during workflow execution ...
Definition:
FailureCause.h:31
wrench::ServiceIsDown::toString
std::string toString() override
Get the human-readable failure message.
Definition:
ServiceIsDown.cpp:39
wrench::ServiceIsDown::getService
std::shared_ptr< Service > getService()
Getter.
Definition:
ServiceIsDown.cpp:31
wrench::ServiceIsDown::ServiceIsDown
ServiceIsDown(std::shared_ptr< Service > service)
Constructor.
Definition:
ServiceIsDown.cpp:23