10 #ifndef WRENCH_NOT_ENOUGH_RESOURCES_H
11 #define WRENCH_NOT_ENOUGH_RESOURCES_H
16 #include <wrench/workflow/failure_causes/FailureCause.h>
17 #include <wrench/services/compute/ComputeService.h>
47 std::shared_ptr<ComputeService> compute_service;
57 #endif //WRENCH_NOT_ENOUGH_RESOURCES_H
std::string toString()
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
WorkflowJob * getJob()
Getter.
Definition: NotEnoughResources.cpp:35
Abstraction of a job used for executing tasks in a Workflow.
Definition: WorkflowJob.h:34
A "compute service doesn't have enough cores" failure cause.
Definition: NotEnoughResources.h:31
NotEnoughResources(WorkflowJob *job, std::shared_ptr< ComputeService > compute_service)
Constructor.
Definition: NotEnoughResources.cpp:26
std::shared_ptr< ComputeService > getComputeService()
Getter.
Definition: NotEnoughResources.cpp:43