Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
callbacks are actually meant for external users to use
authorMartin Quinson <martin.quinson@loria.fr>
Wed, 7 Feb 2018 16:24:29 +0000 (17:24 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Wed, 7 Feb 2018 16:24:29 +0000 (17:24 +0100)
include/simgrid/s4u/Engine.hpp

index 7953899..b9c7707 100644 (file)
@@ -127,16 +127,16 @@ private:
 
 /** Callback fired when the platform is created (ie, the xml file parsed),
  * right before the actual simulation starts. */
 
 /** Callback fired when the platform is created (ie, the xml file parsed),
  * right before the actual simulation starts. */
-extern XBT_PRIVATE xbt::signal<void()> onPlatformCreated;
+extern XBT_PUBLIC(xbt::signal<void()>) onPlatformCreated;
 
 /** Callback fired when the main simulation loop ends, just before MSG_run (or similar) ends */
 
 /** Callback fired when the main simulation loop ends, just before MSG_run (or similar) ends */
-extern XBT_PRIVATE xbt::signal<void()> onSimulationEnd;
+extern XBT_PUBLIC(xbt::signal<void()>) onSimulationEnd;
 
 /** Callback fired when the time jumps into the future */
 
 /** Callback fired when the time jumps into the future */
-extern XBT_PRIVATE xbt::signal<void(double)> onTimeAdvance;
+extern XBT_PUBLIC(xbt::signal<void(double)>) onTimeAdvance;
 
 /** Callback fired when the time cannot jump because of inter-actors deadlock */
 
 /** Callback fired when the time cannot jump because of inter-actors deadlock */
-extern XBT_PRIVATE xbt::signal<void(void)> onDeadlock;
+extern XBT_PUBLIC(xbt::signal<void(void)>) onDeadlock;
 }
 } // namespace simgrid::s4u
 
 }
 } // namespace simgrid::s4u