Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
try to make Engine::on_config_in_platform_done() useless my better placing Engine...
[simgrid.git] / include / simgrid / s4u / Engine.hpp
index bd28d99cdd7856310ca38c215b9e34e591221730..a50747fa79c05762151db127a2b1af26ce2d0cba 100644 (file)
@@ -223,9 +223,13 @@ public:
  * right before the actual simulation starts. */
 extern XBT_PUBLIC xbt::signal<void()> on_platform_created;
 
-/** Callback fired when the platform is about to be created (ie, just before the xml file is parsed) */
+/** Callback fired when the platform is about to be created
+ * (ie, after any configuration change and just before the resource creation) */
 extern XBT_PUBLIC xbt::signal<void()> on_platform_creation;
 
+/** Callback fired when some configuration has be done directly in the XML file */
+extern XBT_PUBLIC xbt::signal<void()> on_config_in_platform_done;
+
 /** Callback fired when the main simulation loop ends, just before the end of Engine::run() */
 extern XBT_PUBLIC xbt::signal<void()> on_simulation_end;