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"
31 class NotEnoughResources :
public FailureCause {
36 NotEnoughResources(std::shared_ptr<Job> job, std::shared_ptr<Service> service);
41 std::shared_ptr<Job> getJob();
42 std::shared_ptr<Service> getService();
46 std::shared_ptr<Job> job;
47 std::shared_ptr<Service> service;
57 #endif //WRENCH_NOT_ENOUGH_RESOURCES_H