Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cosmetics: rename host::on to host::turnOn
[simgrid.git] / include / simgrid / Host.hpp
index 0460df6..42fa5ec 100644 (file)
@@ -38,8 +38,10 @@ public:
   Host(std::string const& name);
   ~Host();
   simgrid::xbt::string const& getName() const { return name_; }
   Host(std::string const& name);
   ~Host();
   simgrid::xbt::string const& getName() const { return name_; }
-  void on();
-  void off();
+  void turnOn();
+  void turnOff();
+  bool isOn();
+  bool isOff();
   xbt_dict_t getProperties();
   xbt_swag_t getProcessList();
   double getCurrentPowerPeak();
   xbt_dict_t getProperties();
   xbt_swag_t getProcessList();
   double getCurrentPowerPeak();