10 #ifndef WRENCH_NOT_ENOUGH_RESOURCES_H
11 #define WRENCH_NOT_ENOUGH_RESOURCES_H
16 #include "wrench/failure_causes/FailureCause.h"
17 #include "wrench/services/compute/ComputeService.h"
41 std::shared_ptr<Job>
getJob();
46 std::shared_ptr<Job> job;
47 std::shared_ptr<Service> service;
57 #endif //WRENCH_NOT_ENOUGH_RESOURCES_H
std::shared_ptr< Job > getJob()
Getter.
Definition: NotEnoughResources.cpp:35
Definition: Action.cpp:28
std::string toString() override
Get the human-readable failure message.
Definition: NotEnoughResources.cpp:51
A top-level class to describe all simulation-valid failures that can occur during workflow execution ...
Definition: FailureCause.h:31
A "compute service doesn't have enough cores" failure cause.
Definition: NotEnoughResources.h:31
std::shared_ptr< Service > getService()
Getter.
Definition: NotEnoughResources.cpp:43