X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/16f843b808b321508679187eae65e1fec3cf14ee..00ae4a50c96340ea9a1f097f4b26dc57b122a86e:/src/surf/storage_interface.hpp diff --git a/src/surf/storage_interface.hpp b/src/surf/storage_interface.hpp index d0e7df6038..9db89aeb07 100644 --- a/src/surf/storage_interface.hpp +++ b/src/surf/storage_interface.hpp @@ -233,6 +233,21 @@ public: */ virtual sg_size_t getSize(); + /** + * @brief Get the available size in bytes of the current Storage + * + * @return The available size in bytes of the current Storage + */ + virtual sg_size_t getFreeSize(); + + /** + * @brief Get the used size in bytes of the current Storage + * + * @return The used size in bytes of the current Storage + */ + virtual sg_size_t getUsedSize(); + + xbt_dict_t parseContent(char *filename); xbt_dynar_t p_writeActions; @@ -262,11 +277,6 @@ typedef enum { */ class StorageAction : public Action { public: - /** - * @brief StorageAction constructor - */ - StorageAction() : m_type(READ) {};//FIXME:REMOVE - /** * @brief StorageAction constructor * @@ -298,6 +308,7 @@ public: StoragePtr p_storage; surf_file_t p_file; xbt_dict_t p_lsDict; + double progress; }; typedef struct s_storage_type {