10 #ifndef WRENCH_STORAGE_SERVICE_NOT_ENOUGH_SPACE_H
11 #define WRENCH_STORAGE_SERVICE_NOT_ENOUGH_SPACE_H
16 #include "FailureCause.h"
17 #include "wrench/services/storage/StorageService.h"
30 class StorageServiceNotEnoughSpace :
public FailureCause {
36 StorageServiceNotEnoughSpace(std::shared_ptr<DataFile>file, std::shared_ptr<StorageService> storage_service);
41 std::shared_ptr<DataFile>getFile();
47 std::shared_ptr<DataFile>file;
48 std::shared_ptr<StorageService> storage_service;
57 #endif //WRENCH_STORAGE_SERVICE_NOT_ENOUGH_SPACE_H