X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/27fe833c49802fa5fbb1e44dc7b99d119fe3aa4b..c1194401ce4a41ff54a7591f4cf33c9ce2756978:/src/surf/StorageImpl.hpp diff --git a/src/surf/StorageImpl.hpp b/src/surf/StorageImpl.hpp index 70d8e4b618..99ef00725f 100644 --- a/src/surf/StorageImpl.hpp +++ b/src/surf/StorageImpl.hpp @@ -34,18 +34,6 @@ class StorageAction; /** @ingroup SURF_storage_interface * @brief The possible type of action for the storage component */ -/************* - * Callbacks * - *************/ - -/** @ingroup SURF_callbacks - * @brief Callbacks handler which emit the callbacks after StorageAction State changed * - * @details Callback functions have the following signature: `void(StorageAction *action, - * simgrid::kernel::resource::Action::State old, simgrid::kernel::resource::Action::State current)` - */ -XBT_PUBLIC_DATA -simgrid::xbt::signal - on_state_change; /********* * Model * @@ -135,6 +123,11 @@ private: */ class StorageAction : public Action { public: + /** + * @brief Callbacks handler which emit the callbacks after StorageAction State changed * + * @details Callback functions have the following signature: `void(StorageAction& action, + * simgrid::kernel::resource::Action::State old, simgrid::kernel::resource::Action::State current)` + */ static xbt::signal on_state_change; /**