WRENCH
1.11
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
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerations
Enumerator
c
d
e
f
k
n
p
r
s
t
u
Files
File List
•
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Pages
include
wrench
failure_causes
JobTimeout.h
1
10
#ifndef WRENCH_JOB_TIMEOUT_H
11
#define WRENCH_JOB_TIMEOUT_H
12
13
#include <set>
14
#include <string>
15
16
#include "FailureCause.h"
17
18
namespace
wrench
{
19
20
class
Job;
21
22
/***********************/
24
/***********************/
25
29
class
JobTimeout
:
public
FailureCause
{
30
public
:
31
/***********************/
33
/***********************/
34
JobTimeout
(std::shared_ptr<Job> job);
35
/***********************/
37
/***********************/
38
39
std::shared_ptr<Job>
getJob
();
40
std::string
toString
()
override
;
41
42
private
:
43
std::shared_ptr<Job> job;
44
};
45
46
47
/***********************/
49
/***********************/
50
};
51
52
53
#endif //WRENCH_JOB_TIMEOUT_H
wrench::JobTimeout::getJob
std::shared_ptr< Job > getJob()
Getter.
Definition:
JobTimeout.cpp:33
wrench::JobTimeout::toString
std::string toString() override
Get the human-readable failure message.
Definition:
JobTimeout.cpp:41
wrench::JobTimeout
A "job has timed out" failure cause.
Definition:
JobTimeout.h:29
wrench::JobTimeout::JobTimeout
JobTimeout(std::shared_ptr< Job > job)
Constructor.
Definition:
JobTimeout.cpp:24
wrench
Definition:
Action.cpp:28
wrench::FailureCause
A top-level class to describe all simulation-valid failures that can occur during workflow execution ...
Definition:
FailureCause.h:31