Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove the actor of the on_{start/completion} parameters as it is always initialized...
[simgrid.git] / include / simgrid / s4u / Io.hpp
index e979fb5..854bee6 100644 (file)
@@ -36,9 +36,12 @@ public:
 #ifndef DOXYGEN
   friend Disk;    // Factory of IOs
   friend Storage; // Factory of IOs
-#endif
 
   ~Io() override = default;
+#endif
+
+  static xbt::signal<void(Io const&)> on_start;
+  static xbt::signal<void(Io const&)> on_completion;
 
   Io* start() override;
   Io* wait() override;