Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update python/clusters-multicpu to the new API.
[simgrid.git] / include / simgrid / plugins / solar_panel.hpp
index 5fa424bd3697ce12d622f07d346e35bc6c4d7ada..849c366c1f01c401b4dd386a5769ecd83ae76505 100644 (file)
@@ -11,7 +11,9 @@
 
 namespace simgrid::plugins {
 
+/** @ingroup plugin_solar_panel */
 class SolarPanel;
+/** @ingroup plugin_solar_panel */
 using SolarPanelPtr = boost::intrusive_ptr<SolarPanel>;
 XBT_PUBLIC void intrusive_ptr_release(SolarPanel* o);
 XBT_PUBLIC void intrusive_ptr_add_ref(SolarPanel* o);
@@ -42,7 +44,7 @@ class SolarPanel {
   friend void intrusive_ptr_add_ref(SolarPanel* o) { o->refcount_.fetch_add(1, std::memory_order_relaxed); }
 #endif
 
-  inline static xbt::signal<void(SolarPanel*)> on_power_change;
+  static xbt::signal<void(SolarPanel*)> on_power_change;
   xbt::signal<void(SolarPanel*)> on_this_power_change;
 
 public: