X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2ebaf33a6383b8e8c1e7cabe73b686b291a18623..HEAD:/include/simgrid/s4u/Disk.hpp diff --git a/include/simgrid/s4u/Disk.hpp b/include/simgrid/s4u/Disk.hpp index 4e6dc99273..eec006c2f6 100644 --- a/include/simgrid/s4u/Disk.hpp +++ b/include/simgrid/s4u/Disk.hpp @@ -133,13 +133,13 @@ public: Disk* seal(); /* The signals */ - /** @brief Add a callback fired when a new Disk is created */ + /** @brief \static Add a callback fired when a new Disk is created */ static void on_creation_cb(const std::function& cb) { on_creation.connect(cb); } - /** @brief Add a callback fired when any Disk is destroyed */ + /** @brief \static Add a callback fired when any Disk is destroyed */ static void on_destruction_cb(const std::function& cb) { on_destruction.connect(cb); } /** @brief Add a callback fired when this specific Disk is destroyed */ void on_this_destruction_cb(const std::function& cb) { on_this_destruction.connect(cb); } - /** @brief Add a callback fired when any Disk is turned on or off */ + /** @brief \static Add a callback fired when any Disk is turned on or off */ static void on_onoff_cb(const std::function& cb) { on_onoff.connect(cb); @@ -150,7 +150,7 @@ public: on_this_onoff.connect(cb); } - XBT_ATTRIB_DEPRECATED_v337("Please use on_onoff_cb() instead") static void on_state_change_cb( + XBT_ATTRIB_DEPRECATED_v338("Please use on_onoff_cb() instead") static void on_state_change_cb( const std::function& cb) { on_onoff.connect(cb);