- StorageN11(StorageModel *model, const char* name, xbt_dict_t properties,
- lmm_system_t maxminSystem, double bread, double bwrite, double bconnection,
- const char* type_id, char *content_name, char *content_type, sg_size_t size, char *attach);
-
- StorageAction *open(const char* mount, const char* path);
- StorageAction *close(surf_file_t fd);
- StorageAction *ls(const char *path);
- StorageAction *read(surf_file_t fd, sg_size_t size);//FIXME:why we have a useless param *??
- StorageAction *write(surf_file_t fd, sg_size_t size);//FIXME:why we have a useless param *??
- void rename(const char *src, const char *dest);
-
- lmm_constraint_t p_constraintWrite; /* Constraint for maximum write bandwidth*/
- lmm_constraint_t p_constraintRead; /* Constraint for maximum write bandwidth*/
+ StorageN11(StorageModel* model, std::string name, lmm_system_t maxminSystem, double bread, double bwrite,
+ std::string type_id, std::string content_name, sg_size_t size, std::string attach);
+ virtual ~StorageN11() = default;
+ StorageAction* read(sg_size_t size);
+ StorageAction* write(sg_size_t size);