X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5d565c9f388ee34b957b69a595e98bbfaf06fb10..e45a0fd3115991c297ede2d5675e46976990f51a:/include/simgrid/plugins/chiller.hpp diff --git a/include/simgrid/plugins/chiller.hpp b/include/simgrid/plugins/chiller.hpp index f0297fabd9..bf28b485c8 100644 --- a/include/simgrid/plugins/chiller.hpp +++ b/include/simgrid/plugins/chiller.hpp @@ -68,7 +68,7 @@ private: friend void intrusive_ptr_add_ref(Chiller* o) { o->refcount_.fetch_add(1, std::memory_order_relaxed); } #endif - inline static xbt::signal on_power_change; + static xbt::signal on_power_change; xbt::signal on_this_power_change; public: @@ -96,16 +96,9 @@ public: double get_max_power() { return max_power_w_; } bool is_active() { return active_; } double get_temp_in() { return temp_in_c_; } - double get_temp_out() { return temp_out_c_; } double get_power() { return power_w_; } double get_energy_consumed() { return energy_consumed_j_; } - double get_next_event(); - - /** Add a callback fired after this chiller power changed. */ - void on_this_power_change_cb(const std::function& func) { on_this_power_change.connect(func); }; - /** Add a callback fired after a chiller power changed. - * Triggered after the on_this_power_change function.**/ - static void on_power_change_cb(const std::function& cb) { on_power_change.connect(cb); } + double get_time_to_goal_temp(); }; } // namespace simgrid::plugins